[PATCH] D93104: [clang][cli] Revert accidental access-control flag rename
Jan Svoboda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 11 04:20:58 PST 2020
jansvoboda11 created this revision.
jansvoboda11 added a reviewer: dexonsmith.
Herald added a subscriber: dang.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This commit https://reviews.llvm.org/rGe5158b52730d323bb8cd2cba6dc6c89b90cba452 introduced an accidental change.
Instead of `-faccess-control` and `-fno-access-control`, we now have `-fno-access-control` and `-fno-no-access-control`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93104
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
@@ -985,7 +985,7 @@
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>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93104.311164.patch
Type: text/x-patch
Size: 785 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201211/aa9723e7/attachment.bin>
More information about the cfe-commits
mailing list