clang API Documentation

Classes | Public Member Functions
clang::IdentifierResolver::IdDeclInfoMap Class Reference

List of all members.

Classes

struct  IdDeclInfoPool

Public Member Functions

 IdDeclInfoMap ()
 ~IdDeclInfoMap ()
IdDeclInfo & operator[] (DeclarationName Name)

Detailed Description

IdDeclInfoMap - Associates IdDeclInfos with declaration names. Allocates 'pools' (vectors of IdDeclInfos) to avoid allocating each individual IdDeclInfo to heap.

Definition at line 31 of file IdentifierResolver.cpp.


Constructor & Destructor Documentation

Definition at line 48 of file IdentifierResolver.cpp.

Definition at line 50 of file IdentifierResolver.cpp.

References P.


Member Function Documentation

IdentifierResolver::IdDeclInfo & clang::IdentifierResolver::IdDeclInfoMap::operator[] ( DeclarationName  Name)

Returns the IdDeclInfo associated to the DeclarationName. It creates a new IdDeclInfo if one was not created before for this id.

Definition at line 389 of file IdentifierResolver.cpp.

References clang::DeclarationName::getFETokenInfo(), and clang::DeclarationName::setFETokenInfo().


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