rsundahl created this revision. Herald added a project: All. rsundahl requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
This change is breaking internal builds. We use the -Xfoo pattern but can now no longer manage whether we allow an unused -Xfoo option to pass as a warning or promote it to an error. This reverts commit 98615fd376cea15af21e120e0e3ffa5ba68c2b6d <https://reviews.llvm.org/rG98615fd376cea15af21e120e0e3ffa5ba68c2b6d>. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D139717 Files: clang/include/clang/Driver/Options.td Index: clang/include/clang/Driver/Options.td =================================================================== --- clang/include/clang/Driver/Options.td +++ clang/include/clang/Driver/Options.td @@ -844,6 +844,7 @@ def Xpreprocessor : Separate<["-"], "Xpreprocessor">, Group<Preprocessor_Group>, HelpText<"Pass <arg> to the preprocessor">, MetaVarName<"<arg>">; def X_Flag : Flag<["-"], "X">, Group<Link_Group>; +def X_Joined : Joined<["-"], "X">, IgnoredGCCCompat; def Z_Flag : Flag<["-"], "Z">, Group<Link_Group>; def all__load : Flag<["-"], "all_load">; def allowable__client : Separate<["-"], "allowable_client">;
Index: clang/include/clang/Driver/Options.td =================================================================== --- clang/include/clang/Driver/Options.td +++ clang/include/clang/Driver/Options.td @@ -844,6 +844,7 @@ def Xpreprocessor : Separate<["-"], "Xpreprocessor">, Group<Preprocessor_Group>, HelpText<"Pass <arg> to the preprocessor">, MetaVarName<"<arg>">; def X_Flag : Flag<["-"], "X">, Group<Link_Group>; +def X_Joined : Joined<["-"], "X">, IgnoredGCCCompat; def Z_Flag : Flag<["-"], "Z">, Group<Link_Group>; def all__load : Flag<["-"], "all_load">; def allowable__client : Separate<["-"], "allowable_client">;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits