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, "-arch_only" , archType, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
45 | "Specify architecture type for output library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<arch_type>" , nullptr) |
46 | OPTION(prefix_1, "-dependency_info" , dependencyInfoPath, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
47 | "Write an Xcode dependency info file describing the dependencies of the created library" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<string>" , nullptr) |
48 | OPTION(prefix_1, "-D" , deterministicOption, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
49 | "Use zero for timestamps and UIDs/GIDs (Default)" , (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, "-filelist" , fileList, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
51 | "Pass in file containing a list of filenames" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<listfile[,dirname]>" , nullptr) |
52 | OPTION(prefix_1, "-help" , help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
53 | "Display this help" , (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, "-h" , anonymous_0, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
55 | "" , (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, "-L" , librarySearchDirs, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
57 | "L<dir> adds <dir> to the list of directories in which to search for libraries" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<dir>" , nullptr) |
58 | OPTION(prefix_1, "-l" , libraries, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
59 | "l<x> searches for the library libx.a in the library search path. If the string 'x' ends with '.o', then the library 'x' is searched for without prepending 'lib' or appending '.a'" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<x>" , nullptr) |
60 | OPTION(prefix_1, "-no_warning_for_no_symbols" , noWarningForNoSymbols, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
61 | "Do not warn about files that have no symbols" , (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, "-o" , outputFile, Separate, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
63 | "Specify output filename" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), "<filename>" , nullptr) |
64 | OPTION(prefix_1, "-static" , static, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
65 | "Produce a statically linked library from the input files" , (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, "-syslibroot" , ignoredSyslibRoot, Separate, INVALID, INVALID, nullptr, HelpHidden, DefaultVis, 0, |
67 | "" , (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, "-U" , nonDeterministicOption, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
69 | "Use actual timestamps and UIDs/GIDs" , (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, "-version" , version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
71 | "Display the version of this program" , (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, "-V" , anonymous_1, Flag, INVALID, version, nullptr, 0, DefaultVis, 0, |
73 | "Print the version number 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) |
74 | OPTION(prefix_1, "-warnings_as_errors" , warningsAsErrors, 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 | #endif // OPTION |
77 | |
78 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
79 | |
80 | struct SimpleEnumValue { |
81 | const char *Name; |
82 | unsigned Value; |
83 | }; |
84 | |
85 | struct SimpleEnumValueTable { |
86 | const SimpleEnumValue *Table; |
87 | unsigned Size; |
88 | }; |
89 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
90 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
91 | #endif // SIMPLE_ENUM_VALUE_TABLE |
92 | |
93 | |
94 | |