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