clang API Documentation
Abstract interface for external sources of preprocessor information. More...
#include <ExternalPreprocessorSource.h>
Public Member Functions | |
virtual | ~ExternalPreprocessorSource () |
virtual void | ReadDefinedMacros ()=0 |
Read the set of macros defined by this external macro source. | |
virtual void | updateOutOfDateIdentifier (IdentifierInfo &II)=0 |
Update an out-of-date identifier. |
Abstract interface for external sources of preprocessor information.
This abstract class allows an external sources (such as the ASTReader
) to provide additional macro definitions.
Definition at line 26 of file ExternalPreprocessorSource.h.
ExternalPreprocessorSource::~ExternalPreprocessorSource | ( | ) | [virtual] |
Definition at line 56 of file Preprocessor.cpp.
virtual void clang::ExternalPreprocessorSource::ReadDefinedMacros | ( | ) | [pure virtual] |
Read the set of macros defined by this external macro source.
Implemented in clang::ASTReader.
Referenced by clang::Preprocessor::macro_begin(), and clang::Preprocessor::macro_end().
virtual void clang::ExternalPreprocessorSource::updateOutOfDateIdentifier | ( | IdentifierInfo & | II | ) | [pure virtual] |
Update an out-of-date identifier.
Implemented in clang::ASTReader.
Referenced by clang::Preprocessor::HandleIdentifier(), and isTrivialSingleTokenExpansion().