forked from OSchip/llvm-project
[OptParser] NFC: Remove unused template arg 'name' from bool opt
Identified in D109359. Reviewed By: jansvoboda11 Differential Revision: https://reviews.llvm.org/D109489
This commit is contained in:
parent
d261d4cf55
commit
6c8ff4032e
|
@ -407,8 +407,7 @@ class MarshalledFlagRec<FlagDefExpanded flag, FlagDefExpanded other,
|
|||
Default default>
|
||||
: Flag<["-"], flag.Spelling>, Flags<flag.OptionFlags>, HelpText<flag.Help>,
|
||||
MarshallingInfoBooleanFlag<kpm, default.Value, flag.ValueAsCode,
|
||||
flag.RecordName, other.ValueAsCode,
|
||||
other.RecordName>,
|
||||
other.ValueAsCode, other.RecordName>,
|
||||
ImpliedByAnyOf<implied.ImpliedBy, implied.ValueAsCode> {}
|
||||
|
||||
// Generates TableGen records for two command line flags that control the same
|
||||
|
|
|
@ -214,7 +214,7 @@ class MarshallingInfoBitfieldFlag<KeyPathAndMacro kpm, code value>
|
|||
}
|
||||
|
||||
// Implementation detail of BoolOption.
|
||||
class MarshallingInfoBooleanFlag<KeyPathAndMacro kpm, code defaultvalue, code value, code name,
|
||||
class MarshallingInfoBooleanFlag<KeyPathAndMacro kpm, code defaultvalue, code value,
|
||||
code other_value, code other_name>
|
||||
: MarshallingInfoFlag<kpm, defaultvalue> {
|
||||
code Normalizer = "makeBooleanOptionNormalizer("#value#", "#other_value#", OPT_"#other_name#")";
|
||||
|
|
Loading…
Reference in New Issue