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 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

clang::GlobalDecl::GlobalDecl ( ) [inline]

Definition at line 39 of file GlobalDecl.h.

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

Definition at line 41 of file GlobalDecl.h.

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

Definition at line 42 of file GlobalDecl.h.

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

Definition at line 43 of file GlobalDecl.h.

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

Definition at line 44 of file GlobalDecl.h.

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

Definition at line 46 of file GlobalDecl.h.

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

Definition at line 48 of file GlobalDecl.h.


Member Function Documentation

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

Definition at line 75 of file GlobalDecl.h.

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

GlobalDecl clang::GlobalDecl::getCanonicalDecl ( ) const [inline]

Definition at line 51 of file GlobalDecl.h.

Referenced by clang::CodeGen::CodeGenModule::getMangledName().

CXXCtorType clang::GlobalDecl::getCtorType ( ) const [inline]
const Decl* clang::GlobalDecl::getDecl ( ) const [inline]
CXXDtorType clang::GlobalDecl::getDtorType ( ) const [inline]
static GlobalDecl clang::GlobalDecl::getFromOpaquePtr ( void *  P) [inline, static]
GlobalDecl clang::GlobalDecl::getWithDecl ( const Decl D) [inline]

Definition at line 83 of file GlobalDecl.h.


Friends And Related Function Documentation

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

Definition at line 71 of file GlobalDecl.h.


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