Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h339 DefMacroDirective *DefDirective = nullptr; variable
345 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
347 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()
349 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective()
350 DefMacroDirective *getDirective() { return DefDirective; } in getDirective()
364 bool isValid() const { return DefDirective != nullptr; } in isValid()
465 return DefDirective->getLocation(); in getLocation()
471 return DefDirective->getInfo(); in getMacroInfo()
476 if (isInvalid() || DefDirective->getPrevious() == nullptr) in getPreviousDefinition()
478 return DefDirective->getPrevious()->getDefinition(); in getPreviousDefinition()