Home
last modified time | relevance | path

Searched refs:DefDirective (Results 1 – 1 of 1) sorted by relevance

/external/clang/include/clang/Lex/
DMacroInfo.h353 DefMacroDirective *DefDirective; variable
358 DefInfo() : DefDirective(nullptr), IsPublic(true) {} in DefInfo()
360 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
362 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()
364 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective()
365 DefMacroDirective *getDirective() { return DefDirective; } in getDirective()
378 bool isValid() const { return DefDirective != nullptr; } in isValid()
474 return DefDirective->getLocation(); in getLocation()
480 return DefDirective->getInfo(); in getMacroInfo()
485 if (isInvalid() || DefDirective->getPrevious() == nullptr) in getPreviousDefinition()
[all …]