mirror of
https://github.com/rui314/mold.git
synced 2024-09-20 01:18:53 +03:00
55 lines
1.6 KiB
C++
55 lines
1.6 KiB
C++
/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|
|
|* *|
|
|
|* Option Parsing Definitions *|
|
|
|* *|
|
|
|* Automatically generated file, do not edit! *|
|
|
|* *|
|
|
\*===----------------------------------------------------------------------===*/
|
|
|
|
/////////
|
|
// Prefixes
|
|
|
|
#ifdef PREFIX
|
|
#define COMMA ,
|
|
PREFIX(prefix_0, {nullptr})
|
|
PREFIX(prefix_1, {"-" COMMA nullptr})
|
|
#undef COMMA
|
|
#endif // PREFIX
|
|
|
|
/////////
|
|
// Groups
|
|
|
|
#ifdef OPTION
|
|
|
|
//////////
|
|
// Options
|
|
|
|
OPTION(prefix_0, &"<input>"[0], INPUT, Input, INVALID, INVALID, nullptr, 0, 0, nullptr, nullptr, nullptr)
|
|
OPTION(prefix_0, &"<unknown>"[0], UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, 0, nullptr, nullptr, nullptr)
|
|
OPTION(prefix_1, &"-o"[1], o, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, 0,
|
|
"Path to file to write output", "<path>", nullptr)
|
|
#endif // OPTION
|
|
|
|
#ifdef SIMPLE_ENUM_VALUE_TABLE
|
|
|
|
struct SimpleEnumValue {
|
|
const char *Name;
|
|
unsigned Value;
|
|
};
|
|
|
|
struct SimpleEnumValueTable {
|
|
const SimpleEnumValue *Table;
|
|
unsigned Size;
|
|
};
|
|
static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
|
|
static const unsigned SimpleEnumValueTablesSize = sizeof(SimpleEnumValueTables) / sizeof(SimpleEnumValueTable);
|
|
#endif // SIMPLE_ENUM_VALUE_TABLE
|
|
|
|
|
|
#ifdef OPTTABLE_ARG_INIT
|
|
//////////
|
|
// Option Values
|
|
|
|
|
|
#endif // OPTTABLE_ARG_INIT
|