14 #ifndef LLVM_CLANG_CODEGEN_MODULEBUILDER_H
15 #define LLVM_CLANG_CODEGEN_MODULEBUILDER_H
26 class DiagnosticsEngine;
27 class CoverageSourceInfo;
29 class HeaderSearchOptions;
30 class PreprocessorOptions;
35 virtual void anchor();
46 const std::string &ModuleName,
ASTConsumer - This is an abstract interface that should be implemented by clients that read ASTs...
Decl - This represents one declaration (or definition), e.g.
Stores additional source code information like skipped ranges which is required by the coverage mappi...
The l-value was an access to a declared entity or something equivalently strong, like the address of ...
PreprocessorOptions - This class is used for passing the various options used in preprocessor initial...
Concrete class used by the front-end to report problems and issues.
virtual llvm::Module * GetModule()=0
virtual const Decl * GetDeclForMangledName(llvm::StringRef MangledName)=0
virtual llvm::Module * ReleaseModule()=0
CodeGenOptions - Track various options which control how the code is optimized and passed to the back...
CodeGenerator * CreateLLVMCodeGen(DiagnosticsEngine &Diags, const std::string &ModuleName, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PreprocessorOpts, const CodeGenOptions &CGO, llvm::LLVMContext &C, CoverageSourceInfo *CoverageInfo=nullptr)
CreateLLVMCodeGen - Create a CodeGenerator instance.