Go to the source code of this file.
|
static cl::list< std::string > | IncludeDirectories ("I", cl::desc("Include directories to use while compiling"), cl::value_desc("directory"), cl::Required, cl::OneOrMore, cl::Prefix) |
|
static cl::opt< bool > | SkipProcessing ("skip-processing", cl::desc("Avoid processing the AST header file"), cl::Required, cl::value_desc("bool")) |
|
static cl::opt< std::string > | JsonOutputPath ("json-output-path", cl::desc("json output path"), cl::Required, cl::value_desc("path")) |
|
int | main (int argc, const char **argv) |
|
|
static const char | Filename [] = "ASTTU.cpp" |
|
◆ IncludeDirectories()
static cl::list< std::string > IncludeDirectories |
( |
"I" |
, |
|
|
cl::desc("Include directories to use while compiling") |
, |
|
|
cl::value_desc("directory") |
, |
|
|
cl::Required |
, |
|
|
cl::OneOrMore |
, |
|
|
cl::Prefix |
|
|
) |
| |
|
static |
◆ JsonOutputPath()
static cl::opt< std::string > JsonOutputPath |
( |
"json-output-path" |
, |
|
|
cl::desc("json output path") |
, |
|
|
cl::Required |
, |
|
|
cl::value_desc("path") |
|
|
) |
| |
|
static |
◆ main()
int main |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
Definition at line 68 of file ClangSrcLocDump.cpp.
References Cmd, clang::CreateAndPopulateDiagOpts(), clang::CompilerInstance::createDiagnostics(), clang::CompilerInvocation::CreateFromArgs(), clang::CompilerInstance::createSourceManager(), clang::CompilerInstance::ExecuteAction(), Filename, clang::CompilerInstance::getDiagnosticOpts(), clang::CompilerInstance::hasDiagnostics(), IncludeDirectories(), JsonOutputPath(), clang::CompilerInstance::setFileManager(), clang::CompilerInstance::setInvocation(), and SkipProcessing().
◆ SkipProcessing()
static cl::opt< bool > SkipProcessing |
( |
"skip-processing" |
, |
|
|
cl::desc("Avoid processing the AST header file") |
, |
|
|
cl::Required |
, |
|
|
cl::value_desc("bool") |
|
|
) |
| |
|
static |
◆ Filename
const char Filename[] = "ASTTU.cpp" |
|
static |