|
clang
3.8.0
|
A description of the current definition of a macro. More...
#include <MacroInfo.h>
Public Member Functions | |
| MacroDefinition () | |
| MacroDefinition (DefMacroDirective *MD, ArrayRef< ModuleMacro * > MMs, bool IsAmbiguous) | |
| operator bool () const | |
| Determine whether there is a definition of this macro. More... | |
| MacroInfo * | getMacroInfo () const |
| Get the MacroInfo that should be used for this definition. More... | |
| bool | isAmbiguous () const |
true if the definition is ambiguous, false otherwise. More... | |
| DefMacroDirective * | getLocalDirective () const |
| Get the latest non-imported, non-#undef'd macro definition for this macro. More... | |
| ArrayRef< ModuleMacro * > | getModuleMacros () const |
| Get the active module macros for this macro. More... | |
| template<typename Fn > | |
| void | forAllDefinitions (Fn F) const |
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 563 of file MacroInfo.h.
|
inline |
Definition at line 568 of file MacroInfo.h.
|
inline |
Definition at line 569 of file MacroInfo.h.
|
inline |
Definition at line 599 of file MacroInfo.h.
|
inline |
Get the latest non-imported, non-#undef'd macro definition for this macro.
Definition at line 592 of file MacroInfo.h.
|
inline |
Get the MacroInfo that should be used for this definition.
Definition at line 579 of file MacroInfo.h.
Referenced by DoPrintMacros(), and EvaluateDefined().
|
inline |
Get the active module macros for this macro.
Definition at line 597 of file MacroInfo.h.
|
inline |
true if the definition is ambiguous, false otherwise.
Definition at line 588 of file MacroInfo.h.
|
inlineexplicit |
Determine whether there is a definition of this macro.
Definition at line 574 of file MacroInfo.h.
1.8.6