Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Lex/
H A DMacroInfo.h363 DefMacroDirective *DefDirective = nullptr; variable
369 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
371 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()
373 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective()
374 DefMacroDirective *getDirective() { return DefDirective; } in getDirective()
388 bool isValid() const { return DefDirective != nullptr; } in isValid()
489 return DefDirective->getLocation(); in getLocation()
495 return DefDirective->getInfo(); in getMacroInfo()
500 if (isInvalid() || DefDirective->getPrevious() == nullptr) in getPreviousDefinition()
502 return DefDirective->getPrevious()->getDefinition(); in getPreviousDefinition()