diff options
Diffstat (limited to 'include/clang/Driver/Option.h')
-rw-r--r-- | include/clang/Driver/Option.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Driver/Option.h b/include/clang/Driver/Option.h index caf94e9d2c..3c6961e71b 100644 --- a/include/clang/Driver/Option.h +++ b/include/clang/Driver/Option.h @@ -136,6 +136,10 @@ namespace driver { /// matches - Predicate for whether this option is part of the /// given option (which may be a group). + /// + /// Note that matches against options which are an alias should never be + /// done -- aliases do not participate in matching and so such a query will + /// always be false. bool matches(const Option *Opt) const; bool matches(unsigned Id) const; |