clang  6.0.0svn
Enumerations
clang::frontend Namespace Reference

Enumerations

enum  ActionKind {
  ASTDeclList, ASTDump, ASTPrint, ASTView,
  DumpRawTokens, DumpTokens, EmitAssembly, EmitBC,
  EmitHTML, EmitLLVM, EmitLLVMOnly, EmitCodeGenOnly,
  EmitObj, FixIt, GenerateModule, GenerateModuleInterface,
  GeneratePCH, GeneratePTH, InitOnly, ModuleFileInfo,
  VerifyPCH, ParseSyntaxOnly, PluginAction, PrintDeclContext,
  PrintPreamble, PrintPreprocessedInput, RewriteMacros, RewriteObjC,
  RewriteTest, RunAnalysis, MigrateSource, RunPreprocessorOnly
}
 
enum  LangFeatures {
  LineComment = (1 << 0), C99 = (1 << 1), C11 = (1 << 2), CPlusPlus = (1 << 3),
  CPlusPlus11 = (1 << 4), CPlusPlus14 = (1 << 5), CPlusPlus1z = (1 << 6), CPlusPlus2a = (1 << 7),
  Digraphs = (1 << 8), GNUMode = (1 << 9), HexFloat = (1 << 10), ImplicitInt = (1 << 11),
  OpenCL = (1 << 12)
}
 
enum  IncludeDirGroup {
  Quoted = 0, Angled, IndexHeaderMap, System,
  ExternCSystem, CSystem, CXXSystem, ObjCSystem,
  ObjCXXSystem, After
}
 IncludeDirGroup - Identifies the group an include Entry belongs to, representing its relative positive in the search list. More...
 

Enumeration Type Documentation

◆ ActionKind

Enumerator
ASTDeclList 

Parse ASTs and list Decl nodes.

ASTDump 

Parse ASTs and dump them.

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 from a module map.

GenerateModuleInterface 

Generate pre-compiled module from a C++ module interface file.

GeneratePCH 

Generate pre-compiled header.

GeneratePTH 

Generate pre-tokenized header.

InitOnly 

Only execute frontend initialization.

ModuleFileInfo 

Dump information about a module file.

VerifyPCH 

Load and verify that a PCH file is usable.

ParseSyntaxOnly 

Parse and perform semantic analysis.

PluginAction 

Run a plugin action,.

See also
ActionName.
PrintDeclContext 

Print DeclContext and their Decls.

PrintPreamble 

Print the "preamble" of the input file.

PrintPreprocessedInput 

-E mode.

RewriteMacros 

Expand macros but not #includes.

RewriteObjC 

ObjC->C Rewriter.

RewriteTest 

Rewriter playground.

RunAnalysis 

Run one or more source code analyses.

MigrateSource 

Run migrator.

RunPreprocessorOnly 

Just lex, no output.

Definition at line 29 of file FrontendOptions.h.

◆ IncludeDirGroup

IncludeDirGroup - Identifies the group an include Entry belongs to, representing its relative positive in the search list.

#include directives whose paths are enclosed by string quotes ("") start searching at the Quoted group (specified by '-iquote'), then search the Angled group, then the System group, etc.

Enumerator
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.

ExternCSystem 

Like System, but headers are implicitly wrapped in extern "C".

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 30 of file HeaderSearchOptions.h.

◆ LangFeatures

Enumerator
LineComment 
C99 
C11 
CPlusPlus 
CPlusPlus11 
CPlusPlus14 
CPlusPlus1z 
CPlusPlus2a 
Digraphs 
GNUMode 
HexFloat 
ImplicitInt 
OpenCL 

Definition at line 21 of file LangStandard.h.