clang
3.7.0
|
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. More... | |
virtual std::pair< unsigned, unsigned > | findPreprocessedEntitiesInRange (SourceRange Range)=0 |
Returns a pair of [Begin, End) indices of preallocated preprocessed entities that Range encompasses. More... | |
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 . More... | |
An abstract class that should be subclassed by any external source of preprocessing record entries.
Definition at line 266 of file PreprocessingRecord.h.
|
virtual |
Definition at line 22 of file PreprocessingRecord.cpp.
|
pure virtual |
Returns a pair of [Begin, End) indices of preallocated preprocessed entities that Range
encompasses.
Implemented in clang::ASTReader.
|
inlinevirtual |
Optionally returns true or false if the preallocated preprocessed entity with index Index
came from file FID
.
Reimplemented in clang::ASTReader.
Definition at line 283 of file PreprocessingRecord.h.
References clang::None.
Referenced by clang::PreprocessingRecord::isEntityInFileID().
|
pure virtual |
Read a preallocated preprocessed entity from the external source.
Implemented in clang::ASTReader.