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
- public virtual clang::IdentifierInfo * GetIdentifier(unsigned int ID)
- public virtual void ReadDefinedMacros()
- public virtual clang::Module * getModule(unsigned int ModuleID)
- public virtual void updateOutOfDateIdentifier(clang::IdentifierInfo & II)
- public virtual ~ExternalPreprocessorSource()
Methods
¶virtual clang::IdentifierInfo* GetIdentifier(
unsigned int ID)
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()
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)
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)
virtual void updateOutOfDateIdentifier(
clang::IdentifierInfo& II)
Description
Update an out-of-date identifier.
Declared at: clang/include/clang/Lex/ExternalPreprocessorSource.h:34
Parameters
¶virtual ~ExternalPreprocessorSource()
virtual ~ExternalPreprocessorSource()
Declared at: clang/include/clang/Lex/ExternalPreprocessorSource.h:28