clang API Documentation
Classes | |
| struct | IdDeclInfoPool |
Public Member Functions | |
| IdDeclInfoMap () | |
| ~IdDeclInfoMap () | |
| IdDeclInfo & | operator[] (DeclarationName Name) |
IdDeclInfoMap - Associates IdDeclInfos with declaration names. Allocates 'pools' (vectors of IdDeclInfos) to avoid allocating each individual IdDeclInfo to heap.
Definition at line 32 of file IdentifierResolver.cpp.
| clang::IdentifierResolver::IdDeclInfoMap::IdDeclInfoMap | ( | ) | [inline] |
Definition at line 49 of file IdentifierResolver.cpp.
| clang::IdentifierResolver::IdDeclInfoMap::~IdDeclInfoMap | ( | ) | [inline] |
Definition at line 51 of file IdentifierResolver.cpp.
References P.
| 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 416 of file IdentifierResolver.cpp.
References clang::DeclarationName::getFETokenInfo(), and clang::DeclarationName::setFETokenInfo().