clang 20.0.0git
Classes | Public Member Functions | List of all members
clang::IdentifierResolver::IdDeclInfoMap Class Reference

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

Public Member Functions

 IdDeclInfoMap ()=default
 
 ~IdDeclInfoMap ()
 
 IdDeclInfoMap (const IdDeclInfoMap &)=delete
 
IdDeclInfoMapoperator= (const IdDeclInfoMap &)=delete
 
IdDeclInfo & operator[] (DeclarationName Name)
 Returns the IdDeclInfo associated to the DeclarationName.
 

Detailed Description

IdDeclInfoMap - Associates IdDeclInfos with declaration names.

Allocates 'pools' (vectors of IdDeclInfos) to avoid allocating each individual IdDeclInfo to heap.

Definition at line 36 of file IdentifierResolver.cpp.

Constructor & Destructor Documentation

◆ IdDeclInfoMap() [1/2]

clang::IdentifierResolver::IdDeclInfoMap::IdDeclInfoMap ( )
default

◆ ~IdDeclInfoMap()

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

Definition at line 55 of file IdentifierResolver.cpp.

References P.

◆ IdDeclInfoMap() [2/2]

clang::IdentifierResolver::IdDeclInfoMap::IdDeclInfoMap ( const IdDeclInfoMap )
delete

Member Function Documentation

◆ operator=()

IdDeclInfoMap & clang::IdentifierResolver::IdDeclInfoMap::operator= ( const IdDeclInfoMap )
delete

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


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