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("/?" ) COMMA llvm::StringLiteral("-?" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(prefix_2, {llvm::StringLiteral("/??" ) COMMA llvm::StringLiteral("-??" ) COMMA llvm::StringLiteral("/?" ) COMMA llvm::StringLiteral("-?" ) COMMA llvm::StringLiteral("" )}) |
17 | #undef COMMA |
18 | #endif // PREFIX |
19 | |
20 | ///////// |
21 | // Prefix Union |
22 | |
23 | #ifdef PREFIX_UNION |
24 | #define COMMA , |
25 | PREFIX_UNION({ |
26 | llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("-?" ) COMMA llvm::StringLiteral("-??" ) COMMA llvm::StringLiteral("/" ) COMMA llvm::StringLiteral("/?" ) COMMA llvm::StringLiteral("/??" ) COMMA llvm::StringLiteral("" )}) |
27 | #undef COMMA |
28 | #endif // PREFIX_UNION |
29 | |
30 | ///////// |
31 | // ValuesCode |
32 | |
33 | #ifdef OPTTABLE_VALUES_CODE |
34 | #endif |
35 | ///////// |
36 | // Groups |
37 | |
38 | #ifdef OPTION |
39 | |
40 | ////////// |
41 | // Options |
42 | |
43 | 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) |
44 | 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) |
45 | OPTION(prefix_1, "/def:" , deffile, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
46 | "def file to use to generate import library" , (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, "/defArm64Native:" , nativedeffile, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
48 | "def file to use to generate native ARM64 symbols in ARM64EC import library" , (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, "/help" , help, 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) |
50 | OPTION(prefix_1, "/ignore:" , ignore, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
51 | "Specify warning codes to ignore" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
52 | OPTION(prefix_1, "/libpath:" , libpath, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
53 | "Object file search path" , (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, "/list" , lst, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
55 | "List contents of .lib file on stdout" , (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, "/llvmlibempty" , llvmlibempty, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
57 | "When given no contents, produce an empty .lib file" , (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, "/llvmlibthin" , llvmlibthin, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
59 | "Make .lib point to .obj files instead of copying their contents" , (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, "/ltcg" , ltcg, 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) |
61 | OPTION(prefix_1, "/machine:" , machine, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
62 | "Specify target platform" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
63 | OPTION(prefix_1, "/nodefaultlib:" , nodefaultlib, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
64 | "" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
65 | OPTION(prefix_1, "/nodefaultlib" , nodefaultlib_all, 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) |
66 | 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) |
67 | OPTION(prefix_1, "/out:" , out, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
68 | "Path to file to write output" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr) |
69 | OPTION(prefix_1, "/subsystem:" , subsystem, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
70 | "" , (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, "/verbose" , verbose, 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) |
72 | OPTION(prefix_1, "/WX:no" , WX_no, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
73 | "Don't treat warnings as errors (default)" , (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, "/WX" , WX, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
75 | "Treat warnings as errors" , (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_2, "/??" , help_q, Flag, INVALID, help, 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) |
77 | #endif // OPTION |
78 | |
79 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
80 | |
81 | struct SimpleEnumValue { |
82 | const char *Name; |
83 | unsigned Value; |
84 | }; |
85 | |
86 | struct SimpleEnumValueTable { |
87 | const SimpleEnumValue *Table; |
88 | unsigned Size; |
89 | }; |
90 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
91 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
92 | #endif // SIMPLE_ENUM_VALUE_TABLE |
93 | |
94 | |
95 | |