clang API Documentation

clang::CodeGen::GlobalDecl Class Reference

#include <GlobalDecl.h>

Collaboration diagram for clang::CodeGen::GlobalDecl:
Collaboration graph
[legend]

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


Constructor & Destructor Documentation

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.


Member Function Documentation

void* clang::CodeGen::GlobalDecl::getAsOpaquePtr (  )  const [inline]
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]
const Decl* clang::CodeGen::GlobalDecl::getDecl (  )  const [inline]
CXXDtorType clang::CodeGen::GlobalDecl::getDtorType (  )  const [inline]
static GlobalDecl clang::CodeGen::GlobalDecl::getFromOpaquePtr ( void *  P  )  [inline, static]
GlobalDecl clang::CodeGen::GlobalDecl::getWithDecl ( const Decl D  )  [inline]

Definition at line 85 of file GlobalDecl.h.


Friends And Related Function Documentation

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

Definition at line 73 of file GlobalDecl.h.


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