Lines Matching refs:Location
149 void Match(StringRef Name, SourceLocation Location) { in Match() argument
150 const FullSourceLoc FullLocation = this->Context->getFullLoc(Location); in Match()
177 bool Matches(StringRef Name, FullSourceLoc const &Location) const { in Matches()
178 return MatchesName(Name) && MatchesLocation(Location); in Matches()
181 bool PartiallyMatches(StringRef Name, FullSourceLoc const &Location) const { in PartiallyMatches()
182 return MatchesName(Name) || MatchesLocation(Location); in PartiallyMatches()
189 bool MatchesLocation(FullSourceLoc const &Location) const { in MatchesLocation()
190 return Location.isValid() && in MatchesLocation()
191 Location.getSpellingLineNumber() == LineNumber && in MatchesLocation()
192 Location.getSpellingColumnNumber() == ColumnNumber; in MatchesLocation()
206 void UpdateFor(StringRef Name, FullSourceLoc Location, SourceManager &SM) { in UpdateFor()
207 if (Candidate.Matches(Name, Location)) { in UpdateFor()
210 } else if (!Found && Candidate.PartiallyMatches(Name, Location)) { in UpdateFor()
213 Location.print(Stream, SM); in UpdateFor()