• Home
  • Raw
  • Download

Lines Matching refs:Result

56   virtual void run(const MatchFinder::MatchResult &Result);
57 virtual void verify(const MatchFinder::MatchResult &Result, in verify() argument
60 void setFailure(const Twine &Result) { in setFailure() argument
62 VerifyResult = Result.str(); in setFailure()
117 void MatchVerifier<NodeType>::run(const MatchFinder::MatchResult &Result) { in run() argument
118 const NodeType *Node = Result.Nodes.getNodeAs<NodeType>(""); in run()
124 verify(Result, *Node); in run()
130 const MatchFinder::MatchResult &Result) { in run() argument
131 BoundNodes::IDToNodeMap M = Result.Nodes.getMap(); in run()
138 verify(Result, I->second); in run()
155 void verify(const MatchFinder::MatchResult &Result, const NodeType &Node) { in verify() argument
157 unsigned Line = Result.SourceManager->getSpellingLineNumber(Loc); in verify()
158 unsigned Column = Result.SourceManager->getSpellingColumnNumber(Loc); in verify()
164 Loc.print(Msg, *Result.SourceManager); in verify()
194 void verify(const MatchFinder::MatchResult &Result, const NodeType &Node) { in verify() argument
198 unsigned BeginLine = Result.SourceManager->getSpellingLineNumber(Begin); in verify()
199 unsigned BeginColumn = Result.SourceManager->getSpellingColumnNumber(Begin); in verify()
200 unsigned EndLine = Result.SourceManager->getSpellingLineNumber(End); in verify()
201 unsigned EndColumn = Result.SourceManager->getSpellingColumnNumber(End); in verify()
208 Begin.print(Msg, *Result.SourceManager); in verify()
210 End.print(Msg, *Result.SourceManager); in verify()
232 void verify(const MatchFinder::MatchResult &Result, in verify() argument
236 Node.dump(Dump, *Result.SourceManager); in verify()
259 void verify(const MatchFinder::MatchResult &Result, in verify() argument
263 Node.print(Print, Result.Context->getPrintingPolicy()); in verify()