Home
last modified time | relevance | path

Searched refs:ExpectedMatch (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DFuzzyMatchTests.cpp19 struct ExpectedMatch { struct
21 ExpectedMatch(llvm::StringRef Match) : Word(Match), Annotated(Match) { in ExpectedMatch() function
32 const ExpectedMatch &M) { in operator <<()
46 ExpectedMatch Candidate;
48 MatchesMatcher(ExpectedMatch Candidate, llvm::Optional<float> Score) in MatchesMatcher()
182 std::vector<ExpectedMatch> RankedStrings;
183 RankMatcher(std::initializer_list<ExpectedMatch> RankedStrings) in RankMatcher()
201 const ExpectedMatch *LastMatch; in MatchAndExplain()
240 new RankMatcher{ExpectedMatch(RankedStrings)...}); in ranks()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DTestVisitor.h146 ExpectedMatches.push_back(ExpectedMatch(Match, Line, Column, Times));
151 for (typename std::vector<ExpectedMatch>::const_iterator in ~ExpectedLocationVisitor()
173 for (typename std::vector<ExpectedMatch>::iterator in Match()
216 struct ExpectedMatch { struct
217 ExpectedMatch(Twine Name, unsigned LineNumber, unsigned ColumnNumber, in ExpectedMatch() function
248 std::vector<ExpectedMatch> ExpectedMatches; argument
/llvm-project-15.0.7/llvm/lib/FileCheck/
H A DFileCheck.cpp2076 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()
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()
[all …]