Author: Jan Svoboda Date: 2020-12-12T11:26:53+01:00 New Revision: adf3c27742ed272e0785a305995a70078eda6fe3
URL: https://github.com/llvm/llvm-project/commit/adf3c27742ed272e0785a305995a70078eda6fe3 DIFF: https://github.com/llvm/llvm-project/commit/adf3c27742ed272e0785a305995a70078eda6fe3.diff LOG: [clang][cli] Revert accidental access-control flag rename This commit <https://reviews.llvm.org/rGe5158b52730d323bb8cd2cba6dc6c89b90cba452> introduced an accidental change, which renames `-faccess-control` and `-fno-access-control` to `-fno-access-control` and `-fno-no-access-control`. Reviewed By: dexonsmith, MaskRay Differential Revision: https://reviews.llvm.org/D93104 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 86760d0f400e..f7f5dd3547e3 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -1000,7 +1000,7 @@ def fPIC : Flag<["-"], "fPIC">, Group<f_Group>; def fno_PIC : Flag<["-"], "fno-PIC">, Group<f_Group>; def fPIE : Flag<["-"], "fPIE">, Group<f_Group>; def fno_PIE : Flag<["-"], "fno-PIE">, Group<f_Group>; -defm access_control : OptOutFFlag<"no-access-control", "", "Disable C++ access control">; +defm access_control : OptOutFFlag<"access-control", "", "Disable C++ access control">; def falign_functions : Flag<["-"], "falign-functions">, Group<f_Group>; def falign_functions_EQ : Joined<["-"], "falign-functions=">, Group<f_Group>; def fno_align_functions: Flag<["-"], "fno-align-functions">, Group<f_Group>; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits