10#include "llvm/ADT/STLExtras.h"
11#include "llvm/Option/OptTable.h"
12#include "llvm/Option/Option.h"
19#define OPTTABLE_VALUES_CODE
20#include "clang/Driver/Options.inc"
21#undef OPTTABLE_VALUES_CODE
23#define PREFIX(NAME, VALUE) \
24 static constexpr llvm::StringLiteral NAME##_init[] = VALUE; \
25 static constexpr llvm::ArrayRef<llvm::StringLiteral> NAME( \
26 NAME##_init, std::size(NAME##_init) - 1);
27#include "clang/Driver/Options.inc"
31#define PREFIX_UNION(VALUES) VALUES
32#include "clang/Driver/Options.inc"
39#define OPTION(...) LLVM_CONSTRUCT_OPT_INFO(__VA_ARGS__),
40#include "clang/Driver/Options.inc"
46class DriverOptTable :
public PrecomputedOptTable {
53 static DriverOptTable Table;
static constexpr const llvm::StringLiteral PrefixTable_init[]
static constexpr OptTable::Info InfoTable[]
static constexpr const llvm::ArrayRef< llvm::StringLiteral > PrefixTable(PrefixTable_init, std::size(PrefixTable_init) - 1)
const llvm::opt::OptTable & getDriverOptTable()