clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::GlobalDecl Class Reference

#include <GlobalDecl.h>

List of all members.

Public Member Functions

 GlobalDecl ()
 GlobalDecl (const VarDecl *D)
 GlobalDecl (const FunctionDecl *D)
 GlobalDecl (const BlockDecl *D)
 GlobalDecl (const CapturedDecl *D)
 GlobalDecl (const ObjCMethodDecl *D)
 GlobalDecl (const CXXConstructorDecl *D, CXXCtorType Type)
 GlobalDecl (const CXXDestructorDecl *D, CXXDtorType Type)
GlobalDecl getCanonicalDecl () const
const DeclgetDecl () 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)

Detailed Description

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 28 of file GlobalDecl.h.


Constructor & Destructor Documentation

Definition at line 39 of file GlobalDecl.h.

clang::GlobalDecl::GlobalDecl ( const VarDecl D) [inline]

Definition at line 41 of file GlobalDecl.h.

Definition at line 42 of file GlobalDecl.h.

clang::GlobalDecl::GlobalDecl ( const BlockDecl D) [inline]

Definition at line 43 of file GlobalDecl.h.

Definition at line 44 of file GlobalDecl.h.

Definition at line 45 of file GlobalDecl.h.

clang::GlobalDecl::GlobalDecl ( const CXXConstructorDecl D,
CXXCtorType  Type 
) [inline]

Definition at line 47 of file GlobalDecl.h.

clang::GlobalDecl::GlobalDecl ( const CXXDestructorDecl D,
CXXDtorType  Type 
) [inline]

Definition at line 49 of file GlobalDecl.h.


Member Function Documentation

void* clang::GlobalDecl::getAsOpaquePtr ( ) const [inline]

Definition at line 76 of file GlobalDecl.h.

Referenced by llvm::DenseMapInfo< clang::GlobalDecl >::getHashValue().

const Decl* clang::GlobalDecl::getDecl ( ) const [inline]

Definition at line 60 of file GlobalDecl.h.

Referenced by clang::CodeGen::CodeGenTypes::arrangeGlobalDeclaration(), clang::CodeGen::CGCXXABI::buildThisParam(), clang::CodeGen::CodeGenPGO::checkGlobalDecl(), clang::CodeGen::CodeGenVTables::CreateVTableInitializer(), clang::CodeGen::CodeGenFunction::EmitAsanPrologueOrEpilogue(), clang::CodeGen::CodeGenFunction::EmitCallAndReturnForThunk(), clang::CodeGen::CodeGenFunction::EmitConstructorBody(), emitConstructorDestructorAlias(), clang::CodeGen::CodeGenFunction::EmitDestructorBody(), clang::CodeGen::CGDebugInfo::EmitFunctionStart(), clang::CodeGen::CodeGenModule::EmitGlobal(), EmitGlobalDeclMetadata(), clang::CodeGen::CodeGenFunction::emitImplicitAssignmentOperatorBody(), clang::CodeGen::CodeGenFunction::EmitLambdaToBlockPointerBody(), 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::ItaniumVTableContext::getMethodVTableIndex(), clang::CodeGen::CodeGenModule::getOrCreateStaticVarDecl(), clang::VTableContextBase::getThunkInfo(), clang::MicrosoftVTableContext::getThunkInfo(), clang::CodeGen::CodeGenFunction::GetVTTParameter(), isDeletingDtor(), clang::CodeGen::CodeGenFunction::StartFunction(), clang::CodeGen::CodeGenFunction::StartThunk(), and clang::CodeGen::CodeGenModule::TryEmitDefinitionAsAlias().

static GlobalDecl clang::GlobalDecl::getFromOpaquePtr ( void *  P) [inline, static]

Definition at line 84 of file GlobalDecl.h.


Friends And Related Function Documentation

bool operator== ( const GlobalDecl LHS,
const GlobalDecl RHS 
) [friend]

Definition at line 72 of file GlobalDecl.h.


The documentation for this class was generated from the following file: