clang
6.0.0
|
GlobalDecl - represents a global declaration. More...
#include "clang/AST/GlobalDecl.h"
Public Member Functions | |
GlobalDecl ()=default | |
GlobalDecl (const VarDecl *D) | |
GlobalDecl (const FunctionDecl *D) | |
GlobalDecl (const BlockDecl *D) | |
GlobalDecl (const CapturedDecl *D) | |
GlobalDecl (const ObjCMethodDecl *D) | |
GlobalDecl (const OMPDeclareReductionDecl *D) | |
GlobalDecl (const CXXConstructorDecl *D, CXXCtorType Type) | |
GlobalDecl (const CXXDestructorDecl *D, CXXDtorType Type) | |
GlobalDecl | getCanonicalDecl () const |
const Decl * | getDecl () const |
CXXCtorType | getCtorType () const |
CXXDtorType | getDtorType () const |
void * | getAsOpaquePtr () const |
GlobalDecl | getWithDecl (const Decl *D) |
Static Public Member Functions | |
static GlobalDecl | getFromOpaquePtr (void *P) |
Friends | |
bool | operator== (const GlobalDecl &LHS, const GlobalDecl &RHS) |
GlobalDecl - represents a global declaration.
This can either be a CXXConstructorDecl and the constructor type (Base, Complete). a CXXDestructorDecl and the destructor type (Base, Complete) or a VarDecl, a FunctionDecl or a BlockDecl.
Definition at line 35 of file GlobalDecl.h.
|
default |
|
inline |
Definition at line 47 of file GlobalDecl.h.
|
inline |
Definition at line 48 of file GlobalDecl.h.
|
inline |
Definition at line 49 of file GlobalDecl.h.
|
inline |
Definition at line 50 of file GlobalDecl.h.
|
inline |
Definition at line 51 of file GlobalDecl.h.
|
inline |
Definition at line 52 of file GlobalDecl.h.
|
inline |
Definition at line 53 of file GlobalDecl.h.
|
inline |
Definition at line 54 of file GlobalDecl.h.
|
inline |
Definition at line 80 of file GlobalDecl.h.
Referenced by llvm::DenseMapInfo< clang::GlobalDecl >::getHashValue().
|
inline |
Definition at line 56 of file GlobalDecl.h.
Referenced by BuildAppleKextVirtualCall(), clang::CodeGen::CodeGenModule::getMangledName(), and clang::CodeGen::CodeGenModule::isTypeConstant().
|
inline |
Definition at line 66 of file GlobalDecl.h.
References getDecl().
Referenced by clang::CodeGen::CodeGenTypes::arrangeGlobalDeclaration(), clang::CodeGen::CodeGenPGO::assignRegionCounters(), clang::CodeGen::CodeGenFunction::BuildFunctionArgList(), clang::CodeGen::CodeGenModule::GetAddrOfGlobal(), and clang::CodeGen::CodeGenModule::getMangledName().
|
inline |
Definition at line 64 of file GlobalDecl.h.
Referenced by clang::CodeGen::CodeGenTypes::arrangeGlobalDeclaration(), clang::CodeGen::CodeGenPGO::assignRegionCounters(), clang::CodeGen::CodeGenFunction::BuildFunctionArgList(), clang::CodeGen::CGCXXABI::buildThisParam(), clang::CodeGen::CodeGenModule::CreateFunctionTypeMetadata(), emitConstructorDestructorAlias(), clang::CodeGen::CodeGenModule::EmitGlobal(), EmitGlobalDeclMetadata(), emitRTtypeidCall(), clang::CodeGen::CodeGenVTables::EmitThunks(), clang::CodeGen::CodeGenFunction::GenerateCode(), clang::CodeGen::CodeGenFunction::generateThunk(), clang::CodeGen::CodeGenFunction::GenerateVarArgsThunk(), clang::CodeGen::CodeGenModule::GetAddrOfFunction(), clang::CodeGen::CodeGenModule::GetAddrOfGlobal(), clang::CodeGen::CodeGenModule::GetAddrOfThunk(), clang::CodeGen::CodeGenModule::getBlockMangledName(), getCtorType(), getDtorType(), clang::CodeGen::CodeGenModule::getFunctionLinkage(), clang::CodeGen::CodeGenTypes::GetFunctionTypeForVTable(), clang::CodeGen::CodeGenModule::getMangledName(), clang::MicrosoftVTableContext::getMethodVFTableLocation(), clang::VTableContextBase::getThunkInfo(), clang::MicrosoftVTableContext::getThunkInfo(), clang::CodeGen::CodeGenFunction::GetVTTParameter(), clang::CodeGen::CodeGenModule::HandleCXXStaticMemberVarInstantiation(), clang::CodeGen::CodeGenFunction::InlinedInheritingConstructorScope::InlinedInheritingConstructorScope(), isDeletingDtor(), clang::CodeGen::CodeGenModule::isTypeConstant(), performTypeAdjustment(), clang::CodeGen::CodeGenModule::setFunctionDLLStorageClass(), setThunkProperties(), clang::CodeGen::CodeGenFunction::StartFunction(), clang::CodeGen::CodeGenFunction::StartThunk(), and clang::CodeGen::CodeGenModule::TryEmitDefinitionAsAlias().
|
inline |
Definition at line 71 of file GlobalDecl.h.
References getDecl().
Referenced by clang::CodeGen::CodeGenTypes::arrangeGlobalDeclaration(), clang::CodeGen::CodeGenPGO::assignRegionCounters(), clang::CodeGen::CodeGenVTables::EmitThunks(), clang::CodeGen::CodeGenModule::GetAddrOfGlobal(), clang::CodeGen::CodeGenModule::getFunctionLinkage(), clang::CodeGen::CodeGenTypes::GetFunctionTypeForVTable(), clang::MicrosoftVTableContext::getMethodVFTableLocation(), clang::MicrosoftVTableContext::getThunkInfo(), isDeletingDtor(), and clang::CodeGen::CodeGenModule::setFunctionDLLStorageClass().
|
inlinestatic |
Definition at line 82 of file GlobalDecl.h.
Referenced by llvm::DenseMapInfo< clang::GlobalDecl >::getTombstoneKey().
|
inline |
Definition at line 88 of file GlobalDecl.h.
References clang::Result.
|
friend |
Definition at line 76 of file GlobalDecl.h.