Skip to content

Commit e540546

Browse files
authored
[OptTable] Fix typo VALUE => VALUES (NFCI) (#121523)
While VALUES is not actually used by LLVM_MAKE_OPT_ID_WITH_ID_PREFIX threading the correct value through is clearer and avoids the potential for strange bugs if this ever changes.
1 parent f695852 commit e540546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Option/OptTable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ class PrecomputedOptTable : public OptTable {
451451
LLVM_MAKE_OPT_ID_WITH_ID_PREFIX(OPT_, PREFIXES_OFFSET, PREFIXED_NAME_OFFSET, \
452452
ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, \
453453
VISIBILITY, PARAM, HELPTEXT, \
454-
HELPTEXTSFORVARIANTS, METAVAR, VALUE)
454+
HELPTEXTSFORVARIANTS, METAVAR, VALUES)
455455

456456
#define LLVM_CONSTRUCT_OPT_INFO_WITH_ID_PREFIX( \
457457
ID_PREFIX, PREFIXES_OFFSET, PREFIXED_NAME_OFFSET, ID, KIND, GROUP, ALIAS, \

0 commit comments

Comments
 (0)