1 | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
2 | |* *| |
3 | |* Option Parsing Definitions *| |
4 | |* *| |
5 | |* Automatically generated file, do not edit! *| |
6 | |* *| |
7 | \*===----------------------------------------------------------------------===*/ |
8 | |
9 | ///////// |
10 | // Prefixes |
11 | |
12 | #ifdef PREFIX |
13 | #define COMMA , |
14 | PREFIX(prefix_0, {llvm::StringLiteral("" )}) |
15 | PREFIX(prefix_1, {llvm::StringLiteral("/" ) COMMA llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
16 | #undef COMMA |
17 | #endif // PREFIX |
18 | |
19 | ///////// |
20 | // Prefix Union |
21 | |
22 | #ifdef PREFIX_UNION |
23 | #define COMMA , |
24 | PREFIX_UNION({ |
25 | llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("/" ) COMMA llvm::StringLiteral("" )}) |
26 | #undef COMMA |
27 | #endif // PREFIX_UNION |
28 | |
29 | ///////// |
30 | // ValuesCode |
31 | |
32 | #ifdef OPTTABLE_VALUES_CODE |
33 | #endif |
34 | ///////// |
35 | // Groups |
36 | |
37 | #ifdef OPTION |
38 | |
39 | ////////// |
40 | // Options |
41 | |
42 | OPTION(prefix_0, "<input>" , INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
43 | OPTION(prefix_0, "<unknown>" , UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
44 | OPTION(prefix_1, "/###" , _HASH_HASH_HASH, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
45 | OPTION(prefix_1, "/?" , help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
46 | "Display this help and exit." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
47 | OPTION(prefix_1, "/C" , codepage, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
48 | "Set the codepage used for input strings." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
49 | OPTION(prefix_1, "/dry-run" , dry_run, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
50 | "Don't compile the input; only try to parse it." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
51 | OPTION(prefix_1, "/D" , define, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
52 | "Define a symbol for the C preprocessor." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
53 | OPTION(prefix_1, "/FM" , fm, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
54 | OPTION(prefix_1, "/FO" , fileout, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
55 | "Change the output file location." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
56 | OPTION(prefix_1, "/G1" , g1, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
57 | OPTION(prefix_1, "/G2" , g2, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
58 | OPTION(prefix_1, "/GN" , gn, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
59 | OPTION(prefix_1, "/G" , g, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
60 | OPTION(prefix_1, "/H" , h, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
61 | "Display this help and exit." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
62 | OPTION(prefix_1, "/I" , includepath, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
63 | "Add an include path." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
64 | OPTION(prefix_1, "/LN" , lang_name, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
65 | "Set the default language name." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
66 | OPTION(prefix_1, "/L" , lang_id, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
67 | "Set the default language identifier." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
68 | OPTION(prefix_1, "/no-preprocess" , no_preprocess, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
69 | "Don't try to preprocess the input file." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
70 | OPTION(prefix_1, "/NOLOGO" , nologo, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
71 | OPTION(prefix_1, "/N" , add_null, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
72 | "Null-terminate all strings in the string table." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
73 | OPTION(prefix_1, "/Q" , q, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
74 | OPTION(prefix_1, "/R" , r, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
75 | OPTION(prefix_1, "/SL" , sl, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
76 | OPTION(prefix_1, "/U" , undef, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
77 | "Undefine a symbol for the C preprocessor." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
78 | OPTION(prefix_1, "/V" , verbose, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
79 | "Be verbose." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
80 | OPTION(prefix_1, "/W" , w, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
81 | OPTION(prefix_1, "/X" , noinclude, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
82 | "Ignore 'include' variable." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
83 | OPTION(prefix_1, "/Y" , dupid_nowarn, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
84 | "Suppress warnings on duplicate resource IDs." , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
85 | #endif // OPTION |
86 | |
87 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
88 | |
89 | struct SimpleEnumValue { |
90 | const char *Name; |
91 | unsigned Value; |
92 | }; |
93 | |
94 | struct SimpleEnumValueTable { |
95 | const SimpleEnumValue *Table; |
96 | unsigned Size; |
97 | }; |
98 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
99 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
100 | #endif // SIMPLE_ENUM_VALUE_TABLE |
101 | |
102 | |
103 | |