clang  3.7.0
Public Member Functions | List of all members
clang::DeclarationNameTable Class Reference

#include <DeclarationName.h>

Public Member Functions

 DeclarationNameTable (const ASTContext &C)
 
 ~DeclarationNameTable ()
 
DeclarationName getIdentifier (const IdentifierInfo *ID)
 
DeclarationName getCXXConstructorName (CanQualType Ty)
 
DeclarationName getCXXDestructorName (CanQualType Ty)
 
DeclarationName getCXXConversionFunctionName (CanQualType Ty)
 
DeclarationName getCXXSpecialName (DeclarationName::NameKind Kind, CanQualType Ty)
 
DeclarationName getCXXOperatorName (OverloadedOperatorKind Op)
 
DeclarationName getCXXLiteralOperatorName (IdentifierInfo *II)
 

Detailed Description

DeclarationNameTable - Used to store and retrieve DeclarationName instances for the various kinds of declaration names, e.g., normal identifiers, C++ constructor names, etc. This class contains uniqued versions of each of the C++ special names, which can be retrieved using its member functions (e.g., getCXXConstructorName).

Definition at line 341 of file DeclarationName.h.

Constructor & Destructor Documentation

DeclarationNameTable::DeclarationNameTable ( const ASTContext C)
DeclarationNameTable::~DeclarationNameTable ( )

Definition at line 353 of file DeclarationName.cpp.

Member Function Documentation

DeclarationName DeclarationNameTable::getCXXConstructorName ( CanQualType  Ty)
DeclarationName DeclarationNameTable::getCXXConversionFunctionName ( CanQualType  Ty)
DeclarationName DeclarationNameTable::getCXXDestructorName ( CanQualType  Ty)
DeclarationName DeclarationNameTable::getCXXLiteralOperatorName ( IdentifierInfo II)
DeclarationName DeclarationNameTable::getCXXOperatorName ( OverloadedOperatorKind  Op)
DeclarationName DeclarationNameTable::getCXXSpecialName ( DeclarationName::NameKind  Kind,
CanQualType  Ty 
)
DeclarationName clang::DeclarationNameTable::getIdentifier ( const IdentifierInfo ID)
inline

getIdentifier - Create a declaration name that is a simple identifier.

Definition at line 356 of file DeclarationName.h.

Referenced by clang::ASTContext::getNameForTemplate(), and hasMember().


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