clang API Documentation
Enumerations | |
| enum | ActionKind { ASTDump, ASTDumpXML, ASTPrint, ASTView, DumpRawTokens, DumpTokens, EmitAssembly, EmitBC, EmitHTML, EmitLLVM, EmitLLVMOnly, EmitCodeGenOnly, EmitObj, FixIt, GenerateModule, GeneratePCH, GeneratePTH, InitOnly, ParseSyntaxOnly, PluginAction, PrintDeclContext, PrintPreamble, PrintPreprocessedInput, RewriteMacros, RewriteObjC, RewriteTest, RunAnalysis, RunPreprocessorOnly } |
| enum | IncludeDirGroup { Quoted = 0, Angled, IndexHeaderMap, System, CSystem, CXXSystem, ObjCSystem, ObjCXXSystem, After } |
| enum | LangFeatures { BCPLComment = (1 << 0), C89 = (1 << 1), C99 = (1 << 2), C11 = (1 << 3), CPlusPlus = (1 << 4), CPlusPlus0x = (1 << 5), Digraphs = (1 << 6), GNUMode = (1 << 7), HexFloat = (1 << 8), ImplicitInt = (1 << 9) } |
| ASTDump |
Parse ASTs and dump them. |
| ASTDumpXML |
Parse ASTs and dump them in XML. |
| ASTPrint |
Parse ASTs and print them. |
| ASTView |
Parse ASTs and view them in Graphviz. |
| DumpRawTokens |
Dump out raw tokens. |
| DumpTokens |
Dump out preprocessed tokens. |
| EmitAssembly |
Emit a .s file. |
| EmitBC |
Emit a .bc file. |
| EmitHTML |
Translate input source into HTML. |
| EmitLLVM |
Emit a .ll file. |
| EmitLLVMOnly |
Generate LLVM IR, but do not emit anything. |
| EmitCodeGenOnly |
Generate machine code, but don't emit anything. |
| EmitObj |
Emit a .o file. |
| FixIt |
Parse and apply any fixits to the source. |
| GenerateModule |
Generate pre-compiled module. |
| GeneratePCH |
Generate pre-compiled header. |
| GeneratePTH |
Generate pre-tokenized header. |
| InitOnly |
Only execute frontend initialization. |
| ParseSyntaxOnly |
Parse and perform semantic analysis. |
| PluginAction |
Run a plugin action,.
|
| PrintDeclContext |
Print DeclContext and their Decls. |
| PrintPreamble |
Print the "preamble" of the input file. |
| PrintPreprocessedInput |
-E mode. |
| RewriteMacros |
Expand macros but not #includes. |
| RewriteObjC | |
| RewriteTest |
Rewriter playground. |
| RunAnalysis |
Run one or more source code analyses. |
| RunPreprocessorOnly |
Just lex, no output. |
Definition at line 21 of file FrontendOptions.h.
IncludeDirGroup - Identifiers the group a include entry belongs to, which represents its relative positive in the search list. A #include of a "" path starts at the -iquote group, then searches the Angled group, then searches the system group, etc.
| Quoted |
'#include ""' paths, added by'gcc -iquote'. |
| Angled |
Paths for '#include <>' added by '-I'. |
| IndexHeaderMap |
Like Angled, but marks header maps used when |
| System |
building frameworks. Like Angled, but marks system directories. |
| CSystem |
Like System, but only used for C. |
| CXXSystem |
Like System, but only used for C++. |
| ObjCSystem |
Like System, but only used for ObjC. |
| ObjCXXSystem |
Like System, but only used for ObjC++. |
| After |
Like System, but searched after the system directories. |
Definition at line 23 of file HeaderSearchOptions.h.
Definition at line 20 of file LangStandard.h.