clang 22.0.0git
llvm Namespace Reference

Diagnostic wrappers for TextAPI types for error reporting. More...

Namespaces

namespace  cl
namespace  coverage
namespace  IDFCalculatorDetail
namespace  json
namespace  MachO
namespace  opt
namespace  orc
namespace  vfs
namespace  yaml

Classes

class  ArrayRef
struct  cast_convert_val< ::clang::DeclContext, FromTy *, FromTy * >
struct  cast_convert_val< ::clang::DeclContext, FromTy, FromTy >
 Implement cast_convert_val for Decl -> DeclContext conversions. More...
struct  cast_convert_val< const ::clang::DeclContext, FromTy *, FromTy * >
struct  cast_convert_val< const ::clang::DeclContext, FromTy, FromTy >
struct  cast_convert_val< ToTy, ::clang::DeclContext *, ::clang::DeclContext * >
struct  cast_convert_val< ToTy, ::clang::DeclContext, ::clang::DeclContext >
struct  cast_convert_val< ToTy, const ::clang::DeclContext *, const ::clang::DeclContext * >
struct  cast_convert_val< ToTy, const ::clang::DeclContext, const ::clang::DeclContext >
 cast<T>(DeclContext*) More...
struct  CastInfo< To, From, std::enable_if_t< std::is_base_of<::clang::ento::SVal, From >::value > >
struct  CastInfo< ToTy, ::clang::extractapi::RecordContext * >
struct  CastInfo< ToTy, const ::clang::extractapi::RecordContext * >
struct  CastInfo<::clang::extractapi::RecordContext, const FromTy * >
struct  CastInfo<::clang::extractapi::RecordContext, FromTy * >
struct  DenseMapInfo< CatchHandlerType >
struct  DenseMapInfo< clang::api_notes::ContextTableKey >
struct  DenseMapInfo< clang::api_notes::SingleDeclTableKey >
struct  DenseMapInfo< clang::api_notes::StoredObjCSelector >
struct  DenseMapInfo< clang::APValue::LValueBase >
struct  DenseMapInfo< clang::ASTNodeKind >
struct  DenseMapInfo< clang::BaseSubobject >
struct  DenseMapInfo< clang::CallGraphNode::CallRecord >
struct  DenseMapInfo< clang::CanonicalDeclPtr< decl_type > >
struct  DenseMapInfo< clang::CanQualType >
struct  DenseMapInfo< clang::CharUnits >
struct  DenseMapInfo< clang::CodeGen::TBAAAccessInfo >
struct  DenseMapInfo< clang::dataflow::Atom >
struct  DenseMapInfo< clang::DeclarationName >
 Define DenseMapInfo so that DeclarationNames can be used as keys in DenseMap and DenseSets. More...
struct  DenseMapInfo< clang::DirectoryEntryRef >
 Specialisation of DenseMapInfo for DirectoryEntryRef. More...
struct  DenseMapInfo< clang::DynTypedNode >
struct  DenseMapInfo< clang::FileEntryRef >
 Specialisation of DenseMapInfo for FileEntryRef. More...
struct  DenseMapInfo< clang::FileID, void >
 Define DenseMapInfo so that FileID's can be used as keys in DenseMap and DenseSets. More...
struct  DenseMapInfo< clang::GlobalDecl >
struct  DenseMapInfo< clang::GlobalDeclID >
struct  DenseMapInfo< clang::lifetimes::internal::ID< Tag > >
struct  DenseMapInfo< clang::LocalDeclID >
struct  DenseMapInfo< clang::NestedNameSpecifier >
struct  DenseMapInfo< clang::NestedNameSpecifierLoc >
struct  DenseMapInfo< clang::ProgramPoint >
struct  DenseMapInfo< clang::QualType >
struct  DenseMapInfo< clang::Selector >
 Define DenseMapInfo so that Selectors can be used as keys in DenseMap and DenseSets. More...
struct  DenseMapInfo< clang::SemaCUDA::FunctionDeclAndLoc >
struct  DenseMapInfo< clang::serialization::DeclarationNameKey >
struct  DenseMapInfo< clang::SourceLocation, void >
 Define DenseMapInfo so that SourceLocation's can be used as keys in DenseMap and DenseSet. More...
struct  DenseMapInfo< clang::tok::PPKeywordKind >
struct  DenseMapInfo< clang::tooling::dependencies::ModuleID >
struct  DenseMapInfo< clang::tooling::stdlib::Header >
struct  DenseMapInfo< clang::tooling::stdlib::Symbol >
struct  DenseMapInfo< DecompositionDeclName >
struct  DenseMapInfo< llvm::FoldingSetNodeID >
struct  DenseMapInfo< ObjCSummaryKey >
struct  DenseMapInfo< ObjectUnderConstruction >
struct  DenseMapInfo< PrivateMethodKey >
struct  DOTGraphTraits< const CallGraph * >
struct  DOTGraphTraits< const CFG * >
struct  DOTGraphTraits< const Stmt * >
struct  DOTGraphTraits< ExplodedGraph * >
struct  DOTGraphTraits< ModuleManager >
struct  enum_iteration_traits< clang::OpenMPDefaultmapClauseKind >
class  Expected
struct  FoldingSetTrait
struct  FoldingSetTrait< AllocKind >
struct  FoldingSetTrait< ArgEffect >
struct  FoldingSetTrait< clang::SourceLocation, void >
struct  FoldingSetTrait< ObjectState >
struct  FoldingSetTrait< RetEffect >
struct  FoldingSetTrait< SValData >
struct  FoldingSetTrait< SValPair >
struct  GraphTraits< ::clang::CFG * >
struct  GraphTraits< ::clang::CFGBlock * >
struct  GraphTraits< clang::CallGraph * >
struct  GraphTraits< clang::CallGraphNode * >
struct  GraphTraits< clang::CFGDomTree * >
struct  GraphTraits< clang::DomTreeNode * >
 DominatorTree GraphTraits specialization so the DominatorTree can be iterable by generic graph iterators. More...
struct  GraphTraits< clang::ento::ExplodedGraph * >
struct  GraphTraits< clang::Stmt * >
struct  GraphTraits< const ::clang::CFG * >
struct  GraphTraits< const ::clang::CFGBlock * >
struct  GraphTraits< const clang::CallGraph * >
struct  GraphTraits< const clang::CallGraphNode * >
struct  GraphTraits< const clang::Stmt * >
struct  GraphTraits< Inverse< ::clang::CFG * > >
struct  GraphTraits< Inverse< ::clang::CFGBlock * > >
struct  GraphTraits< Inverse< const ::clang::CFG * > >
struct  GraphTraits< Inverse< const ::clang::CFGBlock * > >
struct  GraphTraits< ModuleManager >
struct  ImutContainerInfo< clang::ento::SymbolRef >
class  IntrusiveRefCntPtr
struct  IntrusiveRefCntPtrInfo
struct  IntrusiveRefCntPtrInfo< const clang::ento::ProgramState >
struct  isa_impl< To, ::clang::DeclContext >
 isa<T>(DeclContext*) More...
class  LinkInModulesPass
 Create and return a pass that links in Moduels from a provided BackendConsumer to a given primary Module. More...
class  MutableArrayRef
class  OwningArrayRef
struct  PointerLikeTypeTraits
struct  PointerLikeTypeTraits< ::clang::CodeGen::ConstantInitBuilderBase * >
struct  PointerLikeTypeTraits< ::clang::CodeGen::ConstantInitFuture >
struct  PointerLikeTypeTraits< ::clang::ExtQuals * >
struct  PointerLikeTypeTraits< ::clang::Type * >
struct  PointerLikeTypeTraits< clang::CanonicalDeclPtr< decl_type > >
struct  PointerLikeTypeTraits< clang::CanQual< T > >
struct  PointerLikeTypeTraits< clang::DeclarationName >
struct  PointerLikeTypeTraits< clang::DeclGroupRef >
struct  PointerLikeTypeTraits< clang::DirectoryEntryRef >
struct  PointerLikeTypeTraits< clang::DynamicAllocLValue >
struct  PointerLikeTypeTraits< clang::Expr * >
struct  PointerLikeTypeTraits< clang::LazyGenerationalUpdatePtr< Owner, T, Update > >
 Specialize PointerLikeTypeTraits to allow LazyGenerationalUpdatePtr to be placed into a PointerUnion. More...
struct  PointerLikeTypeTraits< clang::NestedNameSpecifier >
struct  PointerLikeTypeTraits< clang::OpaquePtr< T > >
struct  PointerLikeTypeTraits< clang::QualType >
struct  PointerLikeTypeTraits< clang::Selector >
struct  PointerLikeTypeTraits< clang::TemplateName >
 The clang::TemplateName class is effectively a pointer. More...
struct  PointerLikeTypeTraits< clang::TypeInfoLValue >
struct  PointerLikeTypeTraits<::clang::NamedDecl * >
class  RefCountedBase
struct  SaveAndRestore
struct  simplify_type< ::clang::CanQual< T > >
 Implement simplify_type for CanQual<T>, so that we can dyn_cast from CanQual<T> to a specific Type class. More...
struct  simplify_type< ::clang::CFGTerminator >
 Implement simplify_type for CFGTerminator, so that we can dyn_cast from CFGTerminator to a specific Stmt class. More...
struct  simplify_type< ::clang::QualType >
 Implement simplify_type for QualType, so that we can dyn_cast from QualType to a specific Type class. More...
struct  simplify_type< clang::ento::CallEventRef< T > >
class  SmallPtrSet
class  SmallSetVector
class  SmallString
class  SmallVector
class  SmallVectorImpl

Functions

hash_code hash_value (const clang::tooling::dependencies::ModuleID &ID)
template<typename T>
static bool isDenseMapKeyEmpty (T V)
template<typename T>
static bool isDenseMapKeyTombstone (T V)
template<typename T>
static std::optional< boolareDenseMapKeysEqualSpecialValues (T LHS, T RHS)
static cl::opt< boolClSanitizeOnOptimizerEarlyEP ("sanitizer-early-opt-ep", cl::Optional, cl::desc("Insert sanitizers on OptimizerEarlyEP."))
static cl::opt< PGOOptions::ColdFuncOpt > ClPGOColdFuncAttr ("pgo-cold-func-opt", cl::init(PGOOptions::ColdFuncOpt::Default), cl::Hidden, cl::desc("Function attribute to apply to cold functions as determined by PGO"), cl::values(clEnumValN(PGOOptions::ColdFuncOpt::Default, "default", "Default (no attribute)"), clEnumValN(PGOOptions::ColdFuncOpt::OptSize, "optsize", "Mark cold functions with optsize."), clEnumValN(PGOOptions::ColdFuncOpt::MinSize, "minsize", "Mark cold functions with minsize."), clEnumValN(PGOOptions::ColdFuncOpt::OptNone, "optnone", "Mark cold functions with optnone.")))
cl::opt< boolEnableSingleByteCoverage ("enable-single-byte-coverage", llvm::cl::ZeroOrMore, llvm::cl::desc("Enable single byte coverage"), llvm::cl::Hidden, llvm::cl::init(false))
static raw_ostream & operator<< (raw_ostream &Out, BindingKey K)

Variables

template class CLANG_TEMPLATE_ABI Registry< clang::ParsedAttrInfo >
template class CLANG_TEMPLATE_ABI Registry< clang::PluginASTAction >
template class CLANG_TEMPLATE_ABI Registry< clang::PragmaHandler >
template class CLANG_TEMPLATE_ABI Registry< clang::tooling::CompilationDatabasePlugin >
template class CLANG_TEMPLATE_ABI Registry< clang::tooling::ToolExecutorPlugin >
LLVM_ABI cl::opt< InstrProfCorrelator::ProfCorrelatorKind > ProfileCorrelate
cl::opt< boolEnableSingleByteCoverage

Detailed Description

Diagnostic wrappers for TextAPI types for error reporting.

YAML serialization mapping.

Function Documentation

◆ areDenseMapKeysEqualSpecialValues()

template<typename T>
std::optional< bool > llvm::areDenseMapKeysEqualSpecialValues ( T LHS,
T RHS )
static

◆ ClPGOColdFuncAttr()

cl::opt< PGOOptions::ColdFuncOpt > llvm::ClPGOColdFuncAttr ( "pgo-cold-func-opt" ,
cl::init(PGOOptions::ColdFuncOpt::Default) ,
cl::Hidden ,
cl::desc("Function attribute to apply to cold functions as determined by PGO") ,
cl::values(clEnumValN(PGOOptions::ColdFuncOpt::Default, "default", "Default (no attribute)"), clEnumValN(PGOOptions::ColdFuncOpt::OptSize, "optsize", "Mark cold functions with optsize."), clEnumValN(PGOOptions::ColdFuncOpt::MinSize, "minsize", "Mark cold functions with minsize."), clEnumValN(PGOOptions::ColdFuncOpt::OptNone, "optnone", "Mark cold functions with optnone."))  )
static

References ProfileCorrelate.

◆ ClSanitizeOnOptimizerEarlyEP()

cl::opt< bool > llvm::ClSanitizeOnOptimizerEarlyEP ( "sanitizer-early-opt-ep" ,
cl::Optional ,
cl::desc("Insert sanitizers on OptimizerEarlyEP.")  )
static

Referenced by addSanitizers().

◆ EnableSingleByteCoverage()

cl::opt< bool > llvm::EnableSingleByteCoverage ( "enable-single-byte-coverage" ,
llvm::cl::ZeroOrMore ,
llvm::cl::desc("Enable single byte coverage") ,
llvm::cl::Hidden ,
llvm::cl::init(false)  )

◆ hash_value()

◆ isDenseMapKeyEmpty()

template<typename T>
bool llvm::isDenseMapKeyEmpty ( T V)
static

Definition at line 77 of file ItaniumCXXABI.cpp.

References clang::T, and V.

Referenced by areDenseMapKeysEqualSpecialValues().

◆ isDenseMapKeyTombstone()

template<typename T>
bool llvm::isDenseMapKeyTombstone ( T V)
static

Definition at line 81 of file ItaniumCXXABI.cpp.

References clang::T, and V.

Referenced by areDenseMapKeysEqualSpecialValues().

◆ operator<<()

raw_ostream & llvm::operator<< ( raw_ostream & Out,
BindingKey K )
inlinestatic

Definition at line 136 of file RegionStore.cpp.

Variable Documentation

◆ EnableSingleByteCoverage

◆ ProfileCorrelate

LLVM_ABI cl::opt<InstrProfCorrelator::ProfCorrelatorKind> llvm::ProfileCorrelate
extern

Referenced by ClPGOColdFuncAttr().

◆ Registry< clang::ParsedAttrInfo >

template class CLANG_TEMPLATE_ABI llvm::Registry< clang::ParsedAttrInfo >
extern

◆ Registry< clang::PluginASTAction >

template class CLANG_TEMPLATE_ABI llvm::Registry< clang::PluginASTAction >
extern

◆ Registry< clang::PragmaHandler >

template class CLANG_TEMPLATE_ABI llvm::Registry< clang::PragmaHandler >
extern

◆ Registry< clang::tooling::CompilationDatabasePlugin >

template class CLANG_TEMPLATE_ABI llvm::Registry< clang::tooling::CompilationDatabasePlugin >
extern

◆ Registry< clang::tooling::ToolExecutorPlugin >

template class CLANG_TEMPLATE_ABI llvm::Registry< clang::tooling::ToolExecutorPlugin >
extern