clang API Documentation
#include <GlobalDecl.h>

Public Member Functions | |
| GlobalDecl () | |
| GlobalDecl (const VarDecl *D) | |
| GlobalDecl (const FunctionDecl *D) | |
| GlobalDecl (const BlockDecl *D) | |
| GlobalDecl (const ObjCMethodDecl *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 30 of file GlobalDecl.h.
| clang::CodeGen::GlobalDecl::GlobalDecl | ( | ) | [inline] |
Definition at line 41 of file GlobalDecl.h.
| clang::CodeGen::GlobalDecl::GlobalDecl | ( | const VarDecl * | D | ) | [inline] |
Definition at line 43 of file GlobalDecl.h.
| clang::CodeGen::GlobalDecl::GlobalDecl | ( | const FunctionDecl * | D | ) | [inline] |
Definition at line 44 of file GlobalDecl.h.
| clang::CodeGen::GlobalDecl::GlobalDecl | ( | const BlockDecl * | D | ) | [inline] |
Definition at line 45 of file GlobalDecl.h.
| clang::CodeGen::GlobalDecl::GlobalDecl | ( | const ObjCMethodDecl * | D | ) | [inline] |
Definition at line 46 of file GlobalDecl.h.
| clang::CodeGen::GlobalDecl::GlobalDecl | ( | const CXXConstructorDecl * | D, | |
| CXXCtorType | Type | |||
| ) | [inline] |
Definition at line 48 of file GlobalDecl.h.
| clang::CodeGen::GlobalDecl::GlobalDecl | ( | const CXXDestructorDecl * | D, | |
| CXXDtorType | Type | |||
| ) | [inline] |
Definition at line 50 of file GlobalDecl.h.
| void* clang::CodeGen::GlobalDecl::getAsOpaquePtr | ( | ) | const [inline] |
Definition at line 77 of file GlobalDecl.h.
Referenced by llvm::DenseMapInfo< clang::CodeGen::GlobalDecl >::getHashValue().
| GlobalDecl clang::CodeGen::GlobalDecl::getCanonicalDecl | ( | ) | const [inline] |
Definition at line 53 of file GlobalDecl.h.
Referenced by clang::CodeGen::CodeGenModule::getMangledName().
| CXXCtorType clang::CodeGen::GlobalDecl::getCtorType | ( | ) | const [inline] |
Definition at line 63 of file GlobalDecl.h.
References getDecl().
Referenced by clang::CodeGen::CodeGenFunction::EmitConstructorBody(), clang::CodeGen::CodeGenFunction::EmitCXXConstructExpr(), clang::CodeGen::CodeGenFunction::EmitDelegatingCXXConstructorCall(), clang::CodeGen::CodeGenModule::GetAddrOfGlobal(), clang::CodeGen::CodeGenModule::getBlockMangledName(), clang::CodeGen::CodeGenTypes::getFunctionInfo(), clang::CodeGen::CodeGenModule::getMangledName(), and clang::CodeGen::CodeGenVTables::needsVTTParameter().
| const Decl* clang::CodeGen::GlobalDecl::getDecl | ( | ) | const [inline] |
Definition at line 61 of file GlobalDecl.h.
Referenced by clang::CodeGen::CGCXXABI::BuildThisParam(), clang::CodeGen::CodeGenFunction::EmitConstructorBody(), clang::CodeGen::CodeGenFunction::EmitDestructorBody(), clang::CodeGen::CodeGenFunction::EmitFunctionBody(), clang::CodeGen::CGDebugInfo::EmitFunctionStart(), EmitGlobalDeclMetadata(), 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::CodeGenTypes::getFunctionInfo(), clang::CodeGen::CodeGenTypes::GetFunctionType(), clang::CodeGen::CodeGenTypes::GetFunctionTypeForVTable(), clang::CodeGen::CodeGenModule::getMangledName(), clang::CodeGen::CodeGenVTables::getMethodVTableIndex(), GetVTTParameter(), clang::CodeGen::CodeGenVTables::needsVTTParameter(), and clang::CodeGen::CodeGenFunction::StartFunction().
| CXXDtorType clang::CodeGen::GlobalDecl::getDtorType | ( | ) | const [inline] |
Definition at line 68 of file GlobalDecl.h.
References getDecl().
Referenced by clang::CodeGen::CodeGenFunction::EmitDestructorBody(), clang::CodeGen::CodeGenVTables::EmitThunks(), clang::CodeGen::CodeGenModule::GetAddrOfGlobal(), clang::CodeGen::CodeGenModule::GetAddrOfThunk(), clang::CodeGen::CodeGenModule::getBlockMangledName(), clang::CodeGen::CodeGenTypes::getFunctionInfo(), clang::CodeGen::CodeGenTypes::GetFunctionTypeForVTable(), clang::CodeGen::CodeGenModule::getMangledName(), and clang::CodeGen::CodeGenVTables::needsVTTParameter().
| static GlobalDecl clang::CodeGen::GlobalDecl::getFromOpaquePtr | ( | void * | P | ) | [inline, static] |
Definition at line 79 of file GlobalDecl.h.
Referenced by llvm::DenseMapInfo< clang::CodeGen::GlobalDecl >::getTombstoneKey().
| GlobalDecl clang::CodeGen::GlobalDecl::getWithDecl | ( | const Decl * | D | ) | [inline] |
Definition at line 85 of file GlobalDecl.h.
| bool operator== | ( | const GlobalDecl & | LHS, | |
| const GlobalDecl & | RHS | |||
| ) | [friend] |
Definition at line 73 of file GlobalDecl.h.