clang  6.0.0svn
Macros | 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"
Include dependency graph for DriverOptions.cpp:

Go to the source code of this file.

Macros

#define PREFIX(NAME, VALUE)   static const char *const NAME[] = VALUE;
 
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, HELPTEXT, METAVAR, VALUES)
 
#define OPTTABLE_ARG_INIT
 

Variables

static const OptTable::Info InfoTable []
 

Macro Definition Documentation

◆ OPTION

#define OPTION (   PREFIX,
  NAME,
  ID,
  KIND,
  GROUP,
  ALIAS,
  ALIASARGS,
  FLAGS,
  PARAM,
  HELPTEXT,
  METAVAR,
  VALUES 
)
Value:
{PREFIX, NAME, HELPTEXT, METAVAR, OPT_##ID, Option::KIND##Class, \
PARAM, FLAGS, OPT_##GROUP, OPT_##ALIAS, ALIASARGS, VALUES},
#define PREFIX(NAME, VALUE)
#define ALIAS(NAME, TOK, FLAGS)

◆ OPTTABLE_ARG_INIT

#define OPTTABLE_ARG_INIT

◆ PREFIX

#define PREFIX (   NAME,
  VALUE 
)    static const char *const NAME[] = VALUE;

Definition at line 20 of file DriverOptions.cpp.

Variable Documentation

◆ InfoTable

const OptTable::Info InfoTable[]
static
Initial value:
= {
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, HELPTEXT, METAVAR, VALUES)
}

Definition at line 24 of file DriverOptions.cpp.