clang API Documentation

Public Member Functions
clang::DeclarationNameTable Class Reference

#include <DeclarationName.h>

List of all members.

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)

Definition at line 353 of file DeclarationName.cpp.


Member Function Documentation

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: