Home
last modified time | relevance | path

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

/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h365 DefMacroDirective *DefDirective = nullptr; variable
371 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
373 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()
375 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective()
376 DefMacroDirective *getDirective() { return DefDirective; } in getDirective()
390 bool isValid() const { return DefDirective != nullptr; } in isValid()
491 return DefDirective->getLocation(); in getLocation()
497 return DefDirective->getInfo(); in getMacroInfo()
502 if (isInvalid() || DefDirective->getPrevious() == nullptr) in getPreviousDefinition()
504 return DefDirective->getPrevious()->getDefinition(); in getPreviousDefinition()