Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/include/clang/Lex/
H A DMacroInfo.h362 DefMacroDirective *DefDirective = nullptr; variable
368 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
370 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()
372 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective()
373 DefMacroDirective *getDirective() { return DefDirective; } in getDirective()
387 bool isValid() const { return DefDirective != nullptr; } in isValid()
488 return DefDirective->getLocation(); in getLocation()
494 return DefDirective->getInfo(); in getMacroInfo()
499 if (isInvalid() || DefDirective->getPrevious() == nullptr) in getPreviousDefinition()
501 return DefDirective->getPrevious()->getDefinition(); in getPreviousDefinition()