Lines Matching refs:Diags

1208                                  std::vector<FileCheckDiag> *Diags) const {  in printSubstitutions()
1230 if (Diags) in printSubstitutions()
1231 Diags->emplace_back(SM, CheckTy, getLoc(), MatchTy, in printSubstitutions()
1241 std::vector<FileCheckDiag> *Diags) const { in printVariableDefs()
1285 if (Diags) in printVariableDefs()
1286 Diags->emplace_back(SM, CheckTy, getLoc(), MatchTy, VC.Range, OS.str()); in printVariableDefs()
1296 std::vector<FileCheckDiag> *Diags, in ProcessMatchResult() argument
1301 if (Diags) { in ProcessMatchResult()
1303 SMLoc CheckLoc = Diags->rbegin()->CheckLoc; in ProcessMatchResult()
1304 for (auto I = Diags->rbegin(), E = Diags->rend(); in ProcessMatchResult()
1308 Diags->emplace_back(SM, CheckTy, Loc, MatchTy, Range); in ProcessMatchResult()
1314 std::vector<FileCheckDiag> *Diags) const { in printFuzzyMatch()
1350 getCheckTy(), Buffer, Best, 0, Diags); in printFuzzyMatch()
1981 std::vector<FileCheckDiag> *Diags) { in printMatch() argument
1993 PrintDiag = !Diags; in printMatch()
2002 MatchResult.TheMatch->Len, Diags); in printMatch()
2003 if (Diags) { in printMatch()
2004 Pat.printSubstitutions(SM, Buffer, MatchRange, MatchTy, Diags); in printMatch()
2005 Pat.printVariableDefs(SM, MatchTy, Diags); in printMatch()
2034 if (Diags) { in printMatch()
2035 Diags->emplace_back(SM, Pat.getCheckTy(), Loc, in printMatch()
2050 std::vector<FileCheckDiag> *Diags) { in printNoMatch() argument
2064 if (Diags) in printNoMatch()
2078 PrintDiag = !Diags; in printNoMatch()
2089 Buffer, 0, Buffer.size(), Diags); in printNoMatch()
2090 if (Diags) { in printNoMatch()
2093 Diags->emplace_back(SM, Pat.getCheckTy(), Loc, MatchTy, NoteRange, in printNoMatch()
2095 Pat.printSubstitutions(SM, Buffer, SearchRange, MatchTy, Diags); in printNoMatch()
2123 Pat.printFuzzyMatch(SM, Buffer, Diags); in printNoMatch()
2134 std::vector<FileCheckDiag> *Diags) { in reportMatchResult() argument
2137 std::move(MatchResult), Req, Diags); in reportMatchResult()
2140 Diags); in reportMatchResult()
2169 std::vector<FileCheckDiag> *Diags) const { in Check()
2179 LastPos = CheckDag(SM, Buffer, NotStrings, Req, Diags); in Check()
2198 std::move(MatchResult), Req, Diags)) { in Check()
2225 Diags, Req.Verbose); in Check()
2234 Diags, Req.Verbose); in Check()
2240 if (CheckNot(SM, SkippedRegion, NotStrings, Req, Diags)) in Check()
2311 const FileCheckRequest &Req, std::vector<FileCheckDiag> *Diags) const { in CheckNot()
2320 std::move(MatchResult), Req, Diags)) { in CheckNot()
2333 std::vector<FileCheckDiag> *Diags) const { in CheckDag()
2379 std::move(MatchResult), Req, Diags)) { in CheckDag()
2422 if (!Diags) { in CheckDag()
2430 SMLoc CheckLoc = Diags->rbegin()->CheckLoc; in CheckDag()
2431 for (auto I = Diags->rbegin(), E = Diags->rend(); in CheckDag()
2442 Diags)); in CheckDag()
2453 if (CheckNot(SM, SkippedRegion, NotStrings, Req, Diags)) in CheckDag()
2676 std::vector<FileCheckDiag> *Diags) { in checkInput() argument
2694 CheckLabelStr.Check(SM, Buffer, true, MatchLabelLen, Req, Diags); in checkInput()
2717 CheckStr.Check(SM, CheckRegion, false, MatchLen, Req, Diags); in checkInput()