Author: Fangrui Song Date: 2021-08-20T16:36:42-07:00 New Revision: b686fc7a1bea5847676ee0f4e03d4318b0e9e350
URL: https://github.com/llvm/llvm-project/commit/b686fc7a1bea5847676ee0f4e03d4318b0e9e350 DIFF: https://github.com/llvm/llvm-project/commit/b686fc7a1bea5847676ee0f4e03d4318b0e9e350.diff LOG: [Driver] Remove discouraged -gcc-toolchain Space separated driver options are uncommon but Clang traditionally did not do a good job. --gcc-toolchain= is the preferred form. This discourage form appears to be rare, so we can just drop it. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D108494 Added: Modified: clang/include/clang/Driver/Options.td Removed: ################################################################################ diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index a91dacb0ec348..475b0ae088140 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -4301,7 +4301,6 @@ def mno_vzeroupper : Flag<["-"], "mno-vzeroupper">, Group<m_x86_Features_Group>; // These are legacy user-facing driver-level option spellings. They are always // aliases for options that are spelled using the more common Unix / GNU flag // style of double-dash and equals-joined flags. -def gcc_toolchain_legacy_spelling : Separate<["-"], "gcc-toolchain">, Alias<gcc_toolchain>; def target_legacy_spelling : Separate<["-"], "target">, Alias<target>; // Special internal option to handle -Xlinker --no-demangle. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits