diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -407,8 +407,7 @@ Default default> : Flag<["-"], flag.Spelling>, Flags, HelpText, MarshallingInfoBooleanFlag, + other.ValueAsCode, other.RecordName>, ImpliedByAnyOf {} // Generates TableGen records for two command line flags that control the same diff --git a/llvm/include/llvm/Option/OptParser.td b/llvm/include/llvm/Option/OptParser.td --- a/llvm/include/llvm/Option/OptParser.td +++ b/llvm/include/llvm/Option/OptParser.td @@ -214,7 +214,7 @@ } // Implementation detail of BoolOption. -class MarshallingInfoBooleanFlag : MarshallingInfoFlag { code Normalizer = "makeBooleanOptionNormalizer("#value#", "#other_value#", OPT_"#other_name#")";