A description of the current definition of a macro. More...
#include "clang/Lex/MacroInfo.h"
A description of the current definition of a macro.
The definition of a macro comprises a set of (at least one) defining entities, which are either local MacroDirectives or imported ModuleMacros.
Definition at line 590 of file MacroInfo.h.
◆ MacroDefinition() [1/2] clang::MacroDefinition::MacroDefinition ( ) default ◆ MacroDefinition() [2/2] ◆ forAllDefinitions()template<typename Fn >
void clang::MacroDefinition::forAllDefinitions ( Fn F ) const inlineDefinition at line 626 of file MacroInfo.h.
◆ getLocalDirective()Get the latest non-imported, non-#undef'd macro definition for this macro.
Definition at line 619 of file MacroInfo.h.
◆ getMacroInfo() MacroInfo * clang::MacroDefinition::getMacroInfo ( ) const inline ◆ getModuleMacros()Get the active module macros for this macro.
Definition at line 624 of file MacroInfo.h.
◆ isAmbiguous() bool clang::MacroDefinition::isAmbiguous ( ) const inlinetrue
if the definition is ambiguous, false
otherwise.
Definition at line 615 of file MacroInfo.h.
◆ operator bool() clang::MacroDefinition::operator bool ( ) const inlineexplicitDetermine whether there is a definition of this macro.
Definition at line 601 of file MacroInfo.h.
The documentation for this class was generated from the following file:
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