Represents a macro directive exported by a module. More...
#include "clang/Lex/MacroInfo.h"
Represents a macro directive exported by a module.
There's an instance of this class for every macro #define or #undef that is the final directive for a macro name within a module. These entities also represent the macro override graph.
These are stored in a FoldingSet in the preprocessor.
Definition at line 514 of file MacroInfo.h.
◆ overrides_iteratorIterators over the overridden module IDs.
Definition at line 567 of file MacroInfo.h.
◆ create() ◆ getMacroInfo() MacroInfo * clang::ModuleMacro::getMacroInfo ( ) const inlineGet definition for this exported #define, or nullptr if this represents a #undef.
Definition at line 563 of file MacroInfo.h.
◆ getName()Get the name of the macro.
Definition at line 556 of file MacroInfo.h.
◆ getNumOverridingMacros() unsigned clang::ModuleMacro::getNumOverridingMacros ( ) const inlineGet the number of macros that override this one.
Definition at line 583 of file MacroInfo.h.
◆ getOwningModule() Module * clang::ModuleMacro::getOwningModule ( ) const inlineGet the ID of the module that exports this macro.
Definition at line 559 of file MacroInfo.h.
◆ overrides() ◆ overrides_begin() ◆ overrides_end() ◆ Profile() [1/2] void clang::ModuleMacro::Profile ( llvm::FoldingSetNodeID & ID ) const inline ◆ Profile() [2/2] static void clang::ModuleMacro::Profile ( llvm::FoldingSetNodeID & ID, Module * OwningModule, const IdentifierInfo * II ) inlinestatic ◆ PreprocessorThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4