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 ,
14PREFIX(prefix_0, {llvm::StringLiteral("")})
15PREFIX(prefix_1, {llvm::StringLiteral("-") COMMA llvm::StringLiteral("")})
16PREFIX(prefix_2, {llvm::StringLiteral("--") COMMA llvm::StringLiteral("")})
17#undef COMMA
18#endif // PREFIX
19
20/////////
21// Prefix Union
22
23#ifdef PREFIX_UNION
24#define COMMA ,
25PREFIX_UNION({
26llvm::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
43OPTION(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)
44OPTION(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)
45OPTION(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)
46OPTION(prefix_2, "--codepage=", codepage_eq, Joined, INVALID, codepage, nullptr, 0, DefaultVis, 0,
47 "Default codepage to use", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
48OPTION(prefix_2, "--codepage", codepage, 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)
49OPTION(prefix_1, "-c", codepage_short, JoinedOrSeparate, INVALID, codepage, 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)
50OPTION(prefix_2, "--define=", define_eq, Joined, INVALID, define, nullptr, 0, DefaultVis, 0,
51 "Define to pass to the preprocessor", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
52OPTION(prefix_2, "--define", define, 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)
53OPTION(prefix_1, "-D", define_short, JoinedOrSeparate, INVALID, define, 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)
54OPTION(prefix_1, "-F", target_short, JoinedOrSeparate, INVALID, target, 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)
55OPTION(prefix_2, "--help", help_long, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
56 "Display this message 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)
57OPTION(prefix_1, "-h", 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)
58OPTION(prefix_2, "--include-dir=", include_dir_eq, Joined, INVALID, include_dir, nullptr, 0, DefaultVis, 0,
59 "Include directory", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
60OPTION(prefix_2, "--include-dir", include_dir, 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)
61OPTION(prefix_2, "--include=", include_alias_eq, Joined, INVALID, include_dir, 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)
62OPTION(prefix_2, "--include", include_alias, Separate, INVALID, include_dir, 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)
63OPTION(prefix_2, "--input-format=", input_format_eq, Joined, INVALID, input_format, nullptr, 0, DefaultVis, 0,
64 "Input format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
65OPTION(prefix_2, "--input-format", input_format, 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)
66OPTION(prefix_2, "--input=", input_eq, Joined, INVALID, input, nullptr, 0, DefaultVis, 0,
67 "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)
68OPTION(prefix_2, "--input", input, 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)
69OPTION(prefix_1, "-I", include_dir_short, JoinedOrSeparate, INVALID, include_dir, 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)
70OPTION(prefix_1, "-i", input_short, JoinedOrSeparate, INVALID, input, 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)
71OPTION(prefix_1, "-J", input_format_short, JoinedOrSeparate, INVALID, input_format, 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)
72OPTION(prefix_2, "--language=", language_eq, Joined, INVALID, language, nullptr, 0, DefaultVis, 0,
73 "Default language to use (0x0-0xffff)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
74OPTION(prefix_2, "--language", language, 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)
75OPTION(prefix_1, "-l", language_short, JoinedOrSeparate, INVALID, language, 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)
76OPTION(prefix_2, "--no-preprocess", no_preprocess, 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)
77OPTION(prefix_2, "--output-format=", output_format_eq, Joined, INVALID, output_format, nullptr, 0, DefaultVis, 0,
78 "Output format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
79OPTION(prefix_2, "--output-format", output_format, 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)
80OPTION(prefix_2, "--output=", output_eq, Joined, INVALID, output, nullptr, 0, DefaultVis, 0,
81 "Output file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
82OPTION(prefix_2, "--output", output, 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)
83OPTION(prefix_1, "-O", output_format_short, JoinedOrSeparate, INVALID, output_format, 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)
84OPTION(prefix_1, "-o", output_short, JoinedOrSeparate, INVALID, output, 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)
85OPTION(prefix_2, "--preprocessor-arg=", preprocessor_arg_eq, Joined, INVALID, preprocessor_arg, nullptr, 0, DefaultVis, 0,
86 "Preprocessor command argument", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
87OPTION(prefix_2, "--preprocessor-arg", preprocessor_arg, 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)
88OPTION(prefix_2, "--preprocessor=", preprocessor_eq, Joined, INVALID, preprocessor, nullptr, 0, DefaultVis, 0,
89 "Custom preprocessor command", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
90OPTION(prefix_2, "--preprocessor", preprocessor, 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)
91OPTION(prefix_2, "--target=", target_eq, Joined, INVALID, target, nullptr, 0, DefaultVis, 0,
92 "Target BFD format name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
93OPTION(prefix_2, "--target", target, 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)
94OPTION(prefix_2, "--undefine=", undef_eq, Joined, INVALID, undef, nullptr, 0, DefaultVis, 0,
95 "Undefine to pass to the preprocessor", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
96OPTION(prefix_2, "--undefine", undef, 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)
97OPTION(prefix_2, "--use-temp-file", use_temp_file, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
98 "Mimic GNU windres preprocessor option handling (don't unescape preprocessor options)", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
99OPTION(prefix_1, "-U", undef_short, JoinedOrSeparate, INVALID, undef, 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)
100OPTION(prefix_2, "--verbose", verbose_long, Flag, INVALID, verbose, nullptr, 0, DefaultVis, 0,
101 "Enable verbose output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
102OPTION(prefix_2, "--version", version_long, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
103 "Display version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
104OPTION(prefix_1, "-V", version, 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)
105OPTION(prefix_1, "-v", 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)
106#endif // OPTION
107
108#ifdef SIMPLE_ENUM_VALUE_TABLE
109
110struct SimpleEnumValue {
111 const char *Name;
112 unsigned Value;
113};
114
115struct SimpleEnumValueTable {
116 const SimpleEnumValue *Table;
117 unsigned Size;
118};
119static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
120static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
121#endif // SIMPLE_ENUM_VALUE_TABLE
122
123
124