clang API Documentation
An abstract class that should be subclassed by any external source of preprocessing record entries. More...
#include <PreprocessingRecord.h>

Public Member Functions | |
| virtual | ~ExternalPreprocessingRecordSource () |
| virtual PreprocessedEntity * | ReadPreprocessedEntity (unsigned Index)=0 |
| Read a preallocated preprocessed entity from the external source. | |
| virtual std::pair< unsigned, unsigned > | findPreprocessedEntitiesInRange (SourceRange Range)=0 |
Returns a pair of [Begin, End) indices of preallocated preprocessed entities that Range encompasses. | |
| virtual Optional< bool > | isPreprocessedEntityInFileID (unsigned Index, FileID FID) |
Optionally returns true or false if the preallocated preprocessed entity with index Index came from file FID. | |
An abstract class that should be subclassed by any external source of preprocessing record entries.
Definition at line 264 of file PreprocessingRecord.h.
Definition at line 22 of file PreprocessingRecord.cpp.
| virtual std::pair<unsigned, unsigned> clang::ExternalPreprocessingRecordSource::findPreprocessedEntitiesInRange | ( | SourceRange | Range | ) | [pure virtual] |
Returns a pair of [Begin, End) indices of preallocated preprocessed entities that Range encompasses.
Implemented in clang::ASTReader.
| virtual Optional<bool> clang::ExternalPreprocessingRecordSource::isPreprocessedEntityInFileID | ( | unsigned | Index, |
| FileID | FID | ||
| ) | [inline, virtual] |
Optionally returns true or false if the preallocated preprocessed entity with index Index came from file FID.
Reimplemented in clang::ASTReader.
Definition at line 281 of file PreprocessingRecord.h.
Referenced by clang::PreprocessingRecord::isEntityInFileID().
| virtual PreprocessedEntity* clang::ExternalPreprocessingRecordSource::ReadPreprocessedEntity | ( | unsigned | Index | ) | [pure virtual] |
Read a preallocated preprocessed entity from the external source.
Implemented in clang::ASTReader.