Lines Matching defs:ExpectedMatch
1975 static Error printMatch(bool ExpectedMatch, const SourceMgr &SM,
1982 bool HasError = !ExpectedMatch || MatchResult.TheError;
1996 FileCheckDiag::MatchType MatchTy = ExpectedMatch
2014 (ExpectedMatch ? "expected" : "excluded"))
2019 Loc, ExpectedMatch ? SourceMgr::DK_Remark : SourceMgr::DK_Error, Message);
2045 static Error printNoMatch(bool ExpectedMatch, const SourceMgr &SM,
2051 bool HasError = ExpectedMatch;
2053 FileCheckDiag::MatchType MatchTy = ExpectedMatch
2106 (ExpectedMatch ? "expected" : "excluded"))
2112 ExpectedMatch ? SourceMgr::DK_Error : SourceMgr::DK_Remark,
2121 if (ExpectedMatch)
2128 static Error reportMatchResult(bool ExpectedMatch, const SourceMgr &SM,
2135 return printMatch(ExpectedMatch, SM, Prefix, Loc, Pat, MatchedCount, Buffer,
2137 return printNoMatch(ExpectedMatch, SM, Prefix, Loc, Pat, MatchedCount, Buffer,
2195 if (Error Err = reportMatchResult(/*ExpectedMatch=*/true, SM, Prefix, Loc,
2317 /*ExpectedMatch=*/false, SM, NotInfo->DagNotPrefix,
2376 if (Error Err = reportMatchResult(/*ExpectedMatch=*/true, SM, DNPrefix,
2439 /*ExpectedMatch=*/true, SM, DNPrefix, Pat.getLoc(), Pat, 1, Buffer,