LLVM: lib/TableGen/Main.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
static int reportError (const char *ProgName, Twine Msg)
static int createDependencyFile (const TGParser &Parser, const char *argv0)
Create a dependency file for -d option.
Variables
static cl::opt< std::string > OutputFilename ("o", cl::desc("Output filename"), cl::value_desc("filename"), cl::init("-"))
static cl::opt< std::string > DependFilename ("d", cl::desc("Dependency filename"), cl::value_desc("filename"), cl::init(""))
static cl::opt< std::string > InputFilename (cl::Positional, cl::desc("<input file>"), cl::init("-"))
static cl::list< std::string > IncludeDirs ("I", cl::desc("Directory of include files"), cl::value_desc("directory"), cl::Prefix)
static cl::list< std::string > MacroNames ("D", cl::desc("Name of the macro to be defined"), cl::value_desc("macro name"), cl::Prefix)
static cl::opt< bool > WriteIfChanged ("write-if-changed", cl::desc("Only write output if it changed"))
static cl::opt< bool > TimePhases ("time-phases", cl::desc("Time phases of parser and backend"))
static cl::opt< bool > NoWarnOnUnusedTemplateArgs ("no-warn-on-unused-template-args", cl::desc("Disable unused template argument warnings."))

createDependencyFile()

reportError()

DependFilename

IncludeDirs

InputFilename

cl::opt< std::string > InputFilename(cl::Positional, cl::desc("<input file>"), cl::init("-")) ( cl::Positional , cl::desc("<input file>") , cl::init("-") ) static

MacroNames

NoWarnOnUnusedTemplateArgs

cl::opt< bool > NoWarnOnUnusedTemplateArgs("no-warn-on-unused-template-args", cl::desc("Disable unused template argument warnings.")) ( "no-warn-on-unused-template-args" , cl::desc("Disable unused template argument warnings.") ) static

OutputFilename

TimePhases

cl::opt< bool > TimePhases("time-phases", cl::desc("Time phases of parser and backend")) ( "time-phases" , cl::desc("Time phases of parser and backend") ) static

WriteIfChanged