clang API Documentation
#include <MacroInfo.h>
Public Member Functions | |
| DefInfo () | |
| DefInfo (DefMacroDirective *DefDirective, SourceLocation UndefLoc, bool isPublic) | |
| const DefMacroDirective * | getDirective () const |
| DefMacroDirective * | getDirective () |
| SourceLocation | getLocation () const |
| MacroInfo * | getMacroInfo () |
| const MacroInfo * | getMacroInfo () const |
| SourceLocation | getUndefLocation () const |
| bool | isUndefined () const |
| bool | isPublic () const |
| bool | isValid () const |
| bool | isInvalid () const |
| LLVM_EXPLICIT | operator bool () const |
| DefInfo | getPreviousDefinition () |
| const DefInfo | getPreviousDefinition () const |
Definition at line 418 of file MacroInfo.h.
| clang::MacroDirective::DefInfo::DefInfo | ( | ) | [inline] |
Definition at line 424 of file MacroInfo.h.
| clang::MacroDirective::DefInfo::DefInfo | ( | DefMacroDirective * | DefDirective, |
| SourceLocation | UndefLoc, | ||
| bool | isPublic | ||
| ) | [inline] |
Definition at line 426 of file MacroInfo.h.
| const DefMacroDirective* clang::MacroDirective::DefInfo::getDirective | ( | ) | const [inline] |
Definition at line 430 of file MacroInfo.h.
Definition at line 431 of file MacroInfo.h.
| SourceLocation clang::MacroDirective::DefInfo::getLocation | ( | ) | const [inline] |
Definition at line 561 of file MacroInfo.h.
References clang::MacroDirective::getLocation(), and isInvalid().
Referenced by checkConfigMacro(), and clang::Preprocessor::getLastMacroWithSpelling().
| MacroInfo * clang::MacroDirective::DefInfo::getMacroInfo | ( | ) | [inline] |
Definition at line 567 of file MacroInfo.h.
References isInvalid().
Referenced by checkConfigMacro(), clang::Preprocessor::getLastMacroWithSpelling(), getMacroInfo(), and clang::MacroDirective::getMacroInfo().
| const MacroInfo* clang::MacroDirective::DefInfo::getMacroInfo | ( | ) | const [inline] |
Definition at line 435 of file MacroInfo.h.
References getMacroInfo().
Definition at line 574 of file MacroInfo.h.
References isInvalid().
Referenced by checkConfigMacro(), clang::MacroDirective::findDirectiveAtLoc(), and getPreviousDefinition().
| const DefInfo clang::MacroDirective::DefInfo::getPreviousDefinition | ( | ) | const [inline] |
Definition at line 450 of file MacroInfo.h.
References getPreviousDefinition().
| SourceLocation clang::MacroDirective::DefInfo::getUndefLocation | ( | ) | const [inline] |
Definition at line 439 of file MacroInfo.h.
Referenced by checkConfigMacro().
| bool clang::MacroDirective::DefInfo::isInvalid | ( | ) | const [inline] |
| bool clang::MacroDirective::DefInfo::isPublic | ( | ) | const [inline] |
Definition at line 442 of file MacroInfo.h.
| bool clang::MacroDirective::DefInfo::isUndefined | ( | ) | const [inline] |
Definition at line 440 of file MacroInfo.h.
References clang::SourceLocation::isValid().
Referenced by checkConfigMacro().
| bool clang::MacroDirective::DefInfo::isValid | ( | ) | const [inline] |
Definition at line 444 of file MacroInfo.h.
Referenced by isInvalid(), and operator bool().
| LLVM_EXPLICIT clang::MacroDirective::DefInfo::operator bool | ( | ) | const [inline] |
Definition at line 447 of file MacroInfo.h.
References isValid().