1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Option Parsing Definitions *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9/////////
10// Tables
11
12#ifdef OPTTABLE_CODE
13static llvm::opt::OptTable::Tables optionTables() {
14
15#ifdef __GNUC__
16#pragma GCC diagnostic push
17#pragma GCC diagnostic ignored "-Woverlength-strings"
18#endif
19static constexpr char OptionStrTableStorage[] =
20 "\0"
21 "/\0"
22 "-\0"
23 "/?\0"
24 "-?\0"
25 "<input>\0"
26 "<unknown>\0"
27 "/alternatename:\0"
28 "/export:\0"
29 "/include:\0"
30 ;
31#ifdef __GNUC__
32#pragma GCC diagnostic pop
33#endif
34
35static constexpr llvm::StringTable
36OptionStrTable = OptionStrTableStorage;
37
38 static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
39 0 /* prefixes */,
40 4 /* prefixes */, 1 /* '/' */, 3 /* '-' */, 5 /* '/?' */, 8 /* '-?' */
41 };
42
43 static constexpr llvm::opt::OptTable::HelpTextVariant OptionHelpTextVariantsTable[] = {
44 {0, 0},
45 };
46
47 static constexpr unsigned OptionSubCommandIDsTable[] = {
48 0 /* subcommands */
49 };
50
51 static constexpr llvm::opt::OptTable::InfoExtra OptionInfoExtrasTable[] = {
52 {0, 0, 0, 0, 0, 0, 0, 0},
53 {0, 0, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0},
54 };
55
56 static constexpr llvm::opt::OptTable::Info OptionInfoTable[] = {
57 {11 /* <input> */, 0, 0, 0, 1, 0, llvm::opt::Option::InputClass},
58 {19 /* <unknown> */, 0, 0, 0, 1, 0, llvm::opt::Option::UnknownClass},
59 {29 /* /alternatename: */, 0, 0, 0, 1, 1, llvm::opt::Option::JoinedClass},
60 {45 /* /export: */, 0, 0, 0, 1, 1, llvm::opt::Option::JoinedClass},
61 {54 /* /include: */, 0, 0, 0, 1, 1, llvm::opt::Option::JoinedClass},
62 };
63
64 return {OptionStrTable, OptionPrefixesTable,
65 OptionInfoTable, OptionInfoExtrasTable, OptionHelpTextVariantsTable, {}, OptionSubCommandIDsTable};
66}
67#undef OPTTABLE_CODE
68#endif // OPTTABLE_CODE
69
70/////////
71// ValuesCode
72
73#ifdef OPTTABLE_VALUES_CODE
74static llvm::StringRef getOptionValuesCode(unsigned ID) {
75 switch (ID) {
76 }
77 return {};
78}
79#undef OPTTABLE_VALUES_CODE
80#endif // OPTTABLE_VALUES_CODE
81/////////
82// Groups
83
84#ifdef OPTION
85
86//////////
87// Options
88
89OPTION(0, 11 /* <input> */, INPUT, Input, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0)
90OPTION(0, 19 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0)
91OPTION(1, 29 /* /alternatename: */, alternatename, Joined, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0)
92OPTION(1, 45 /* /export: */, export, Joined, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0)
93OPTION(1, 54 /* /include: */, incl, Joined, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0)
94#endif // OPTION
95
96#ifdef SIMPLE_ENUM_VALUE_TABLE
97
98struct SimpleEnumValue {
99 const char *Name;
100 unsigned Value;
101};
102
103struct SimpleEnumValueTable {
104 const SimpleEnumValue *Table;
105 unsigned Size;
106};
107static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
108static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
109#endif // SIMPLE_ENUM_VALUE_TABLE
110