clang 20.0.0git
|
Provides lookups to, and iteration over, IdentiferInfo objects. More...
#include "clang/Basic/IdentifierTable.h"
Public Member Functions | |
virtual | ~IdentifierInfoLookup () |
virtual IdentifierInfo * | get (StringRef Name)=0 |
Return the IdentifierInfo for the specified named identifier. | |
virtual IdentifierIterator * | getIdentifiers () |
Retrieve an iterator into the set of all identifiers known to this identifier lookup source. | |
Provides lookups to, and iteration over, IdentiferInfo objects.
Definition at line 626 of file IdentifierTable.h.
|
virtualdefault |
|
pure virtual |
Return the IdentifierInfo for the specified named identifier.
Unlike the version in IdentifierTable, this returns a pointer instead of a reference. If the pointer is null then the IdentifierInfo cannot be found.
Implemented in clang::ASTReader.
Referenced by clang::IdentifierTable::get().
|
virtual |
Retrieve an iterator into the set of all identifiers known to this identifier lookup source.
This routine provides access to all of the identifiers known to the identifier lookup, allowing access to the contents of the identifiers without introducing the overhead of constructing IdentifierInfo objects for each.
Reimplemented in clang::ASTReader.
Definition at line 61 of file IdentifierTable.cpp.