Skip to content

Commit c99da63

Browse files
authored
Merge pull request #1718 from bnbarham/2024-rebranch-to-main
Update LLVM to stable/20240723
2 parents 63cac0b + d5fe83d commit c99da63

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Sources/makeOptions/makeOptions.cpp

+7-5
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ enum class OptionKind {
3838
};
3939

4040
#define LLVM_MAKE_OPT_ID_WITH_ID_PREFIX(ID_PREFIX, PREFIX, NAME, ID, KIND, \
41-
GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
42-
HELPTEXT, METAVAR, VALUES) \
41+
GROUP, ALIAS, ALIASARGS, FLAGS, \
42+
VISIBILITY, PARAM, HELPTEXT, \
43+
HELPTEXTFORVARIANTS, METAVAR, VALUES) \
4344
ID_PREFIX##ID
4445

4546
//. The IDs of each option
@@ -134,9 +135,10 @@ struct RawOption {
134135
#undef PREFIX
135136

136137
static const RawOption rawOptions[] = {
137-
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
138-
HELPTEXT, METAVAR, VALUES) \
139-
{ OptionID::Opt_##ID, PREFIX, NAME, swiftify(#ID), OptionKind::KIND, \
138+
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, \
139+
VISIBILITY, PARAM, HELPTEXT, HELPTEXTFORVARIANTS, METAVAR, \
140+
VALUES) \
141+
{ OptionID::Opt_##ID, PREFIX, NAME, swiftify(#ID), OptionKind::KIND, \
140142
OptionID::Opt_##GROUP, OptionID::Opt_##ALIAS, FLAGS, HELPTEXT, METAVAR, PARAM },
141143
#include "swift/Option/Options.inc"
142144
#undef OPTION

0 commit comments

Comments
 (0)