Lines Matching refs:ExpectedMatch
2076 static Error printMatch(bool ExpectedMatch, const SourceMgr &SM, in printMatch() argument
2083 bool HasError = !ExpectedMatch || MatchResult.TheError; in printMatch()
2097 FileCheckDiag::MatchType MatchTy = ExpectedMatch in printMatch()
2115 (ExpectedMatch ? "expected" : "excluded")) in printMatch()
2120 Loc, ExpectedMatch ? SourceMgr::DK_Remark : SourceMgr::DK_Error, Message); in printMatch()
2146 static Error printNoMatch(bool ExpectedMatch, const SourceMgr &SM, in printNoMatch() argument
2152 bool HasError = ExpectedMatch; in printNoMatch()
2154 FileCheckDiag::MatchType MatchTy = ExpectedMatch in printNoMatch()
2207 (ExpectedMatch ? "expected" : "excluded")) in printNoMatch()
2213 ExpectedMatch ? SourceMgr::DK_Error : SourceMgr::DK_Remark, in printNoMatch()
2222 if (ExpectedMatch) in printNoMatch()
2229 static Error reportMatchResult(bool ExpectedMatch, const SourceMgr &SM, in reportMatchResult() argument
2236 return printMatch(ExpectedMatch, SM, Prefix, Loc, Pat, MatchedCount, Buffer, in reportMatchResult()
2238 return printNoMatch(ExpectedMatch, SM, Prefix, Loc, Pat, MatchedCount, Buffer, in reportMatchResult()