Searched refs:DefDirective (Results 1 – 2 of 2) 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 …]
339 DefMacroDirective *DefDirective = nullptr; variable345 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument347 : 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()