clang  6.0.0svn
Classes | Public Member Functions | List of all members
clang::IdentifierResolver::IdDeclInfoMap Class Reference

IdDeclInfoMap - Associates IdDeclInfos with declaration names. More...

Public Member Functions

 IdDeclInfoMap ()
 
 ~IdDeclInfoMap ()
 
IdDeclInfo & operator[] (DeclarationName Name)
 Returns the IdDeclInfo associated to the DeclarationName. More...
 

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

◆ IdDeclInfoMap()

clang::IdentifierResolver::IdDeclInfoMap::IdDeclInfoMap ( )
inline

Definition at line 48 of file IdentifierResolver.cpp.

◆ ~IdDeclInfoMap()

clang::IdentifierResolver::IdDeclInfoMap::~IdDeclInfoMap ( )
inline

Member Function Documentation

◆ operator[]()

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 394 of file IdentifierResolver.cpp.

Referenced by clang::IdentifierResolver::IdDeclInfoMap::~IdDeclInfoMap().


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