clang 20.0.0git
Enumerations
clang::frontend Namespace Reference

Enumerations

enum  ActionKind {
  ASTDeclList , ASTDump , ASTPrint , ASTView ,
  DumpCompilerOptions , DumpRawTokens , DumpTokens , EmitAssembly ,
  EmitBC , EmitHTML , EmitCIR , EmitLLVM ,
  EmitLLVMOnly , EmitCodeGenOnly , EmitObj , ExtractAPI ,
  FixIt , GenerateModule , GenerateModuleInterface , GenerateReducedModuleInterface ,
  GenerateHeaderUnit , GeneratePCH , GenerateInterfaceStubs , InitOnly ,
  ModuleFileInfo , VerifyPCH , ParseSyntaxOnly , PluginAction ,
  PrintPreamble , PrintPreprocessedInput , RewriteMacros , RewriteObjC ,
  RewriteTest , RunAnalysis , TemplightDump , MigrateSource ,
  RunPreprocessorOnly , PrintDependencyDirectivesSourceMinimizerOutput
}
 
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.

DumpCompilerOptions 

Dump the compiler configuration.

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.

EmitCIR 

Emit a .cir file.

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.

ExtractAPI 
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 standard C++ module interface unit.

GenerateReducedModuleInterface 

Generate reduced module interface for a standard C++ module interface unit.

GenerateHeaderUnit 

Generate a C++20 header unit module from a header file.

GeneratePCH 

Generate pre-compiled header.

GenerateInterfaceStubs 

Generate Interface Stub Files.

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

TemplightDump 

Dump template instantiations.

MigrateSource 

Run migrator.

RunPreprocessorOnly 

Just lex, no output.

PrintDependencyDirectivesSourceMinimizerOutput 

Print the output of the dependency directives source minimizer.

Definition at line 37 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 building frameworks.

System 

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