clang 24.0.0git
ModuleBuilder.h File Reference
#include "clang/AST/ASTConsumer.h"
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/VirtualFileSystemFwd.h"

Go to the source code of this file.

Classes

class  clang::CodeGenerator
 The primary public interface to the Clang code generator. More...

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
namespace  clang
 Top level wrappers for InstallAPI frontend operations.
namespace  clang::CodeGen

Functions

std::unique_ptr< CodeGenerator > clang::CreateLLVMCodeGen (const CompilerInstance &CI, llvm::StringRef ModuleName, llvm::LLVMContext &C, CoverageSourceInfo *CoverageInfo=nullptr)
 CreateLLVMCodeGen - Create a CodeGenerator instance.
std::unique_ptr< CodeGenerator > clang::CreateLLVMCodeGen (DiagnosticsEngine &Diags, llvm::StringRef ModuleName, IntrusiveRefCntPtr< llvm::vfs::FileSystem > FS, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PreprocessorOpts, const CodeGenOptions &CGO, llvm::LLVMContext &C, CoverageSourceInfo *CoverageInfo=nullptr)
std::optional< std::pair< StringRef, StringRef > > clang::CodeGen::DemangleTrapReasonInDebugInfo (StringRef FuncName)
 Demangle the artificial function name (.

Variables

constexpr llvm::StringRef ClangTrapPrefix = "__clang_trap_msg"

Variable Documentation

◆ ClangTrapPrefix

llvm::StringRef ClangTrapPrefix = "__clang_trap_msg"
inlineconstexpr