Searched refs:DefDirective (Results 1 – 1 of 1) sorted by relevance
353 DefMacroDirective *DefDirective; variable358 DefInfo() : DefDirective(nullptr), IsPublic(true) {} in DefInfo()360 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument362 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()364 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective()365 DefMacroDirective *getDirective() { return DefDirective; } in getDirective()378 bool isValid() const { return DefDirective != nullptr; } in isValid()474 return DefDirective->getLocation(); in getLocation()480 return DefDirective->getInfo(); in getMacroInfo()485 if (isInvalid() || DefDirective->getPrevious() == nullptr) in getPreviousDefinition()[all …]