Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DMacroInfo.h419 DefMacroDirective *DefDirective; variable
424 DefInfo() : DefDirective(nullptr) { } in DefInfo()
426 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
428 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) { } in DefInfo()
430 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective()
431 DefMacroDirective *getDirective() { return DefDirective; } in getDirective()
444 bool isValid() const { return DefDirective != nullptr; } in isValid()
564 return DefDirective->getLocation(); in getLocation()
570 return DefDirective->getInfo(); in getMacroInfo()
575 if (isInvalid() || DefDirective->getPrevious() == nullptr) in getPreviousDefinition()
[all …]