class ExternalPreprocessorSource

Declaration

class ExternalPreprocessorSource { /* full declaration omitted */ };

Description

Abstract interface for external sources of preprocessor information. This abstract class allows an external sources (such as the \c ASTReader) to provide additional preprocessing information.

Declared at: clang/include/clang/Lex/ExternalPreprocessorSource.h:26

Method Overview

Methods

virtual clang::IdentifierInfo* GetIdentifier(
    unsigned int ID)

Description

Return the identifier associated with the given ID number. The ID 0 is associated with the NULL identifier.

Declared at: clang/include/clang/Lex/ExternalPreprocessorSource.h:39

Parameters

unsigned int ID

virtual void ReadDefinedMacros()

Description

Read the set of macros defined by this external macro source.

Declared at: clang/include/clang/Lex/ExternalPreprocessorSource.h:31

virtual clang::Module* getModule(
    unsigned int ModuleID)

Description

Map a module ID to a module.

Declared at: clang/include/clang/Lex/ExternalPreprocessorSource.h:42

Parameters

unsigned int ModuleID

virtual void updateOutOfDateIdentifier(
    clang::IdentifierInfo& II)

Description

Update an out-of-date identifier.

Declared at: clang/include/clang/Lex/ExternalPreprocessorSource.h:34

Parameters

clang::IdentifierInfo& II

virtual ~ExternalPreprocessorSource()

Declared at: clang/include/clang/Lex/ExternalPreprocessorSource.h:28