diff options
author | Nico Weber <thakis@chromium.org> | 2021-08-26 22:01:00 -0400 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2021-08-27 08:48:05 -0400 |
commit | 66dc44f7037bd3d632ab55ee1aaa39d071abc7c6 (patch) | |
tree | 5f182a2049fa79b9f47fe81c97637a02ccdd19d2 | |
parent | 68088563fbadba92a153cbe03c1586033b19322d (diff) | |
download | llvm-66dc44f7037bd3d632ab55ee1aaa39d071abc7c6.tar.gz |
[lld/COFF] Use P_priv more
P_priv does the same as the old QF further down. Standardize on P_priv.
No behavior change.
Differential Revision: https://reviews.llvm.org/D108798
-rw-r--r-- | lld/COFF/Options.td | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/lld/COFF/Options.td b/lld/COFF/Options.td index ce3392ce9dcb..940d96c39e99 100644 --- a/lld/COFF/Options.td +++ b/lld/COFF/Options.td @@ -268,9 +268,9 @@ def wrap : P_priv<"wrap">; // Flags for debugging def lldmap : F<"lldmap">; -def lldmap_file : Joined<["/", "-", "/?", "-?"], "lldmap:">; +def lldmap_file : P_priv<"lldmap">; def map : F<"map">; -def map_file : Joined<["/", "-", "/?", "-?"], "map:">; +def map_file : P_priv<"map">; def show_timing : F<"time">; def summary : F<"summary">; @@ -278,19 +278,17 @@ def summary : F<"summary">; // The flags below do nothing. They are defined only for link.exe compatibility. //============================================================================== -class QF<string name> : Joined<["/", "-", "/?", "-?"], name#":">; - def ignoreidl : F<"ignoreidl">; def nologo : F<"nologo">; def throwingnew : F<"throwingnew">; def editandcontinue : F<"editandcontinue">; def fastfail : F<"fastfail">; -def delay : QF<"delay">; -def errorreport : QF<"errorreport">; -def idlout : QF<"idlout">; -def maxilksize : QF<"maxilksize">; -def tlbid : QF<"tlbid">; -def tlbout : QF<"tlbout">; -def verbose_all : QF<"verbose">; -def guardsym : QF<"guardsym">; +def delay : P_priv<"delay">; +def errorreport : P_priv<"errorreport">; +def idlout : P_priv<"idlout">; +def maxilksize : P_priv<"maxilksize">; +def tlbid : P_priv<"tlbid">; +def tlbout : P_priv<"tlbout">; +def verbose_all : P_priv<"verbose">; +def guardsym : P_priv<"guardsym">; |