diff options
Diffstat (limited to 'include/clang/Driver/OptParser.td')
-rw-r--r-- | include/clang/Driver/OptParser.td | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/Driver/OptParser.td b/include/clang/Driver/OptParser.td index 25ecbc3..9e6d5b9 100644 --- a/include/clang/Driver/OptParser.td +++ b/include/clang/Driver/OptParser.td @@ -85,6 +85,9 @@ def HelpHidden : OptionFlag; // NoForward - The option should not be implicitly forwarded to other tools. def NoForward : OptionFlag; +// CC1Option - This option should be accepted by clang -cc1. +def CC1Option : OptionFlag; + // Define the option group class. class OptionGroup<string name> { @@ -134,5 +137,5 @@ class MetaVarName<string name> { string MetaVarName = name; } // FIXME: Have generator validate that these appear in correct position (and // aren't duplicated). -def INPUT : Option<"<input>", KIND_INPUT>, Flags<[DriverOption]>; +def INPUT : Option<"<input>", KIND_INPUT>, Flags<[DriverOption,CC1Option]>; def UNKNOWN : Option<"<unknown>", KIND_UNKNOWN>; |