clang 19.0.0git
Macros | Functions | Variables
DriverOptions.cpp File Reference
#include "clang/Driver/Options.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Option/OptTable.h"
#include "llvm/Option/Option.h"
#include <cassert>
#include "clang/Driver/Options.inc"

Go to the source code of this file.

Macros

#define OPTTABLE_VALUES_CODE
 
#define PREFIX(NAME, VALUE)
 
#define PREFIX_UNION(VALUES)   VALUES
 
#define OPTION(...)   LLVM_CONSTRUCT_OPT_INFO(__VA_ARGS__),
 

Functions

static constexpr const llvm::ArrayRef< llvm::StringLiteral > PrefixTable (PrefixTable_init, std::size(PrefixTable_init) - 1)
 

Variables

static constexpr const llvm::StringLiteral PrefixTable_init []
 
static constexpr OptTable::Info InfoTable []
 

Macro Definition Documentation

◆ OPTION

#define OPTION (   ...)    LLVM_CONSTRUCT_OPT_INFO(__VA_ARGS__),

◆ OPTTABLE_VALUES_CODE

#define OPTTABLE_VALUES_CODE

Definition at line 19 of file DriverOptions.cpp.

◆ PREFIX

#define PREFIX (   NAME,
  VALUE 
)
Value:
static constexpr llvm::StringLiteral NAME##_init[] = VALUE; \
static constexpr llvm::ArrayRef<llvm::StringLiteral> NAME( \
NAME##_init, std::size(NAME##_init) - 1);
#define VALUE(type, base)

Definition at line 23 of file DriverOptions.cpp.

◆ PREFIX_UNION

#define PREFIX_UNION (   VALUES)    VALUES

Function Documentation

◆ PrefixTable()

static constexpr const llvm::ArrayRef< llvm::StringLiteral > PrefixTable ( PrefixTable_init  ,
std::size(PrefixTable_init) -  1 
)
staticconstexpr

Variable Documentation

◆ InfoTable

constexpr OptTable::Info InfoTable[]
staticconstexpr

◆ PrefixTable_init

constexpr const llvm::StringLiteral PrefixTable_init[]
staticconstexpr
Initial value:
=
#define PREFIX_UNION(VALUES)

Definition at line 30 of file DriverOptions.cpp.