@@ -35,8 +35,9 @@ Copyright (c) Intel Corporation (2009-2017).
3535 static constexpr llvm::StringLiteral NAME##_init[] = VALUE; \
3636 static constexpr llvm::ArrayRef<llvm::StringLiteral> NAME ( \
3737 NAME##_init, std::size(NAME##_init) - 1);
38- #define OPTION (PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, \
39- PARAM, HELPTEXT, METAVAR, VALUES)
38+ #define OPTION (PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, \
39+ VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, \
40+ VALUES)
4041#include " opencl_clang_options.inc"
4142#undef OPTION
4243#undef PREFIX
@@ -47,14 +48,23 @@ extern llvm::ManagedStatic<llvm::sys::SmartMutex<true>> compileMutex;
4748
4849static constexpr OptTable::Info ClangOptionsInfoTable[] = {
4950#define PREFIX (NAME, VALUE )
50- #define OPTION (PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, VISIBILITY, \
51- PARAM, HELPTEXT, METAVAR, VALUES) \
52- { \
53- PREFIX, NAME, HELPTEXT, METAVAR, OPT_COMPILE_##ID, \
54- llvm::opt::Option::KIND##Class, PARAM, FLAGS, VISIBILITY, \
55- OPT_COMPILE_##GROUP, OPT_COMPILE_##ALIAS, ALIASARGS, VALUES \
56- } \
57- ,
51+ #define OPTION (PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, \
52+ VISIBILITY, PARAM, HELPTEXT, HELPTEXTSFORVARIANTS, METAVAR, \
53+ VALUES) \
54+ {PREFIX, \
55+ NAME, \
56+ HELPTEXT, \
57+ HELPTEXTSFORVARIANTS, \
58+ METAVAR, \
59+ OPT_COMPILE_##ID, \
60+ llvm::opt::Option::KIND##Class, \
61+ PARAM, \
62+ FLAGS, \
63+ VISIBILITY, \
64+ OPT_COMPILE_##GROUP, \
65+ OPT_COMPILE_##ALIAS, \
66+ ALIASARGS, \
67+ VALUES},
5868#include " opencl_clang_options.inc"
5969};
6070
0 commit comments