Author: Fangrui Song Date: 2022-08-31T18:13:16-07:00 New Revision: 08d9912d1c599b5d79d4f2cd6f6be2cdb2bbfa83
URL: https://github.com/llvm/llvm-project/commit/08d9912d1c599b5d79d4f2cd6f6be2cdb2bbfa83 DIFF: https://github.com/llvm/llvm-project/commit/08d9912d1c599b5d79d4f2cd6f6be2cdb2bbfa83.diff LOG: [Driver] Remove unimplemented Joined -a / --profile-blocks GCC removed the option on 2010-08-03. We support a few -a*. Having the Joined -a may make typos unnoticed. 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 606b1d588955..2aef6d5d9572 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -850,7 +850,6 @@ def ansi : Flag<["-", "--"], "ansi">, Group<CompileOnly_Group>; def arch__errors__fatal : Flag<["-"], "arch_errors_fatal">; def arch : Separate<["-"], "arch">, Flags<[NoXarchOption]>; def arch__only : Separate<["-"], "arch_only">; -def a : Joined<["-"], "a">; def autocomplete : Joined<["--"], "autocomplete=">; def bind__at__load : Flag<["-"], "bind_at_load">; def bundle__loader : Separate<["-"], "bundle_loader">; @@ -4364,7 +4363,6 @@ def _print_diagnostic_categories : Flag<["--"], "print-diagnostic-categories">; def _print_file_name : Separate<["--"], "print-file-name">, Alias<print_file_name_EQ>; def _print_missing_file_dependencies : Flag<["--"], "print-missing-file-dependencies">, Alias<MG>; def _print_prog_name : Separate<["--"], "print-prog-name">, Alias<print_prog_name_EQ>; -def _profile_blocks : Flag<["--"], "profile-blocks">, Alias<a>; def _profile : Flag<["--"], "profile">, Alias<p>; def _resource_EQ : Joined<["--"], "resource=">, Alias<fcompile_resource_EQ>; def _resource : Separate<["--"], "resource">, Alias<fcompile_resource_EQ>; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits