Lines Matching refs:ExpectedMatch
2045 static Error printMatch(bool ExpectedMatch, const SourceMgr &SM, in printMatch() argument
2052 bool HasError = !ExpectedMatch || MatchResult.TheError; in printMatch()
2066 FileCheckDiag::MatchType MatchTy = ExpectedMatch in printMatch()
2084 (ExpectedMatch ? "expected" : "excluded")) in printMatch()
2089 Loc, ExpectedMatch ? SourceMgr::DK_Remark : SourceMgr::DK_Error, Message); in printMatch()
2115 static Error printNoMatch(bool ExpectedMatch, const SourceMgr &SM, in printNoMatch() argument
2121 bool HasError = ExpectedMatch; in printNoMatch()
2123 FileCheckDiag::MatchType MatchTy = ExpectedMatch in printNoMatch()
2176 (ExpectedMatch ? "expected" : "excluded")) in printNoMatch()
2182 ExpectedMatch ? SourceMgr::DK_Error : SourceMgr::DK_Remark, in printNoMatch()
2191 if (ExpectedMatch) in printNoMatch()
2198 static Error reportMatchResult(bool ExpectedMatch, const SourceMgr &SM, in reportMatchResult() argument
2205 return printMatch(ExpectedMatch, SM, Prefix, Loc, Pat, MatchedCount, Buffer, in reportMatchResult()
2207 return printNoMatch(ExpectedMatch, SM, Prefix, Loc, Pat, MatchedCount, Buffer, in reportMatchResult()