clang API Documentation

Public Member Functions
clang::ExternalPreprocessorSource Class Reference

Abstract interface for external sources of preprocessor information. More...

#include <ExternalPreprocessorSource.h>

Inheritance diagram for clang::ExternalPreprocessorSource:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 56 of file Preprocessor.cpp.


Member Function Documentation

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().

Update an out-of-date identifier.

Implemented in clang::ASTReader.

Referenced by clang::Preprocessor::HandleIdentifier(), and isTrivialSingleTokenExpansion().


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