clang API Documentation

Public Member Functions
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:
Inheritance graph
[legend]
Collaboration diagram for clang::ASTIdentifierIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ASTIdentifierIterator (const ASTReader &Reader)
virtual StringRef Next ()
 Retrieve the next string in the identifier table and advances the iterator for the following string.

Detailed Description

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

Definition at line 5272 of file ASTReader.cpp.


Constructor & Destructor Documentation

ASTIdentifierIterator::ASTIdentifierIterator ( const ASTReader Reader) [explicit]

Member Function Documentation

StringRef ASTIdentifierIterator::Next ( ) [virtual]

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 5303 of file ASTReader.cpp.

References clang::OnDiskChainedHashTable< Info >::key_begin(), and clang::OnDiskChainedHashTable< Info >::key_end().


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