class IdentifierInfoLookup
Declaration
class IdentifierInfoLookup { /* full declaration omitted */ };
Description
Provides lookups to, and iteration over, IdentiferInfo objects.
Declared at: clang/include/clang/Basic/IdentifierTable.h:534
Method Overview
- public virtual clang::IdentifierInfo * get(llvm::StringRef Name)
- public virtual clang::IdentifierIterator * getIdentifiers()
- public virtual ~IdentifierInfoLookup()
Methods
¶virtual clang::IdentifierInfo* get(
llvm::StringRef Name)
virtual clang::IdentifierInfo* get(
llvm::StringRef Name)
Description
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.
Declared at: clang/include/clang/Basic/IdentifierTable.h:543
Parameters
- llvm::StringRef Name
¶virtual clang::IdentifierIterator*
getIdentifiers()
virtual clang::IdentifierIterator*
getIdentifiers()
Description
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.
Declared at: clang/include/clang/Basic/IdentifierTable.h:555
Returns
A new iterator into the set of known identifiers. The caller is responsible for deleting this iterator.
¶virtual ~IdentifierInfoLookup()
virtual ~IdentifierInfoLookup()
Declared at: clang/include/clang/Basic/IdentifierTable.h:536