clang 22.0.0git
clang::ASTIdentifierIterator Class Reference

An identifier-lookup iterator that enumerates all of the identifiers stored within a set of AST files. More...

Inheritance diagram for clang::ASTIdentifierIterator:
[legend]

Public Member Functions

 ASTIdentifierIterator (const ASTReader &Reader, bool SkipModules=false)
StringRef Next () override
 Retrieve the next string in the identifier table and advances the iterator for the following string.
Public Member Functions inherited from clang::IdentifierIterator
 IdentifierIterator (const IdentifierIterator &)=delete
IdentifierIteratoroperator= (const IdentifierIterator &)=delete
virtual ~IdentifierIterator ()

Additional Inherited Members

Protected Member Functions inherited from clang::IdentifierIterator
 IdentifierIterator ()=default

Detailed Description

An identifier-lookup iterator that enumerates all of the identifiers stored within a set of AST files.

Definition at line 9159 of file ASTReader.cpp.

Constructor & Destructor Documentation

◆ ASTIdentifierIterator()

ASTIdentifierIterator::ASTIdentifierIterator ( const ASTReader & Reader,
bool SkipModules = false )
explicit

Definition at line 9187 of file ASTReader.cpp.

Member Function Documentation

◆ Next()

StringRef ASTIdentifierIterator::Next ( )
overridevirtual

Retrieve the next string in the identifier table and advances the iterator for the following string.

Returns
The next string in the identifier table. If there is no such string, returns an empty StringRef.

Implements clang::IdentifierIterator.

Definition at line 9192 of file ASTReader.cpp.

References clang::serialization::ModuleFile::IdentifierLookupTable, clang::serialization::ModuleFile::isModule(), and clang::Result.


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