Searched refs:ExpectedMatch (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | FuzzyMatchTests.cpp | 20 struct ExpectedMatch { struct 22 ExpectedMatch(llvm::StringRef Match) : Word(Match), Annotated(Match) { in ExpectedMatch() argument 33 const ExpectedMatch &M) { in operator <<() 47 ExpectedMatch Candidate; 49 MatchesMatcher(ExpectedMatch Candidate, llvm::Optional<float> Score) in MatchesMatcher() 183 std::vector<ExpectedMatch> RankedStrings; 184 RankMatcher(std::initializer_list<ExpectedMatch> RankedStrings) in RankMatcher() 202 const ExpectedMatch *LastMatch; in MatchAndExplain() 241 new RankMatcher{ExpectedMatch(RankedStrings)...}); in ranks()
|
/external/clang/unittests/Tooling/ |
D | TestVisitor.h | 132 ExpectedMatches.push_back(ExpectedMatch(Match, Line, Column)); in ExpectMatch() 137 for (typename std::vector<ExpectedMatch>::const_iterator in ~ExpectedLocationVisitor() 159 for (typename std::vector<ExpectedMatch>::iterator in Match() 202 struct ExpectedMatch { struct 203 ExpectedMatch(Twine Name, unsigned LineNumber, unsigned ColumnNumber) in ExpectedMatch() argument 230 std::vector<ExpectedMatch> ExpectedMatches; argument
|
/external/llvm-project/clang/unittests/Tooling/ |
D | TestVisitor.h | 146 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
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | FileCheck.cpp | 1274 static void PrintMatch(bool ExpectedMatch, const SourceMgr &SM, in PrintMatch() argument 1280 if (ExpectedMatch) { in PrintMatch() 1291 ExpectedMatch ? FileCheckDiag::MatchFoundAndExpected in PrintMatch() 1299 (ExpectedMatch ? "expected" : "excluded")) in PrintMatch() 1305 Loc, ExpectedMatch ? SourceMgr::DK_Remark : SourceMgr::DK_Error, Message); in PrintMatch() 1311 static void PrintMatch(bool ExpectedMatch, const SourceMgr &SM, in PrintMatch() argument 1316 PrintMatch(ExpectedMatch, SM, CheckStr.Prefix, CheckStr.Loc, CheckStr.Pat, in PrintMatch() 1320 static void PrintNoMatch(bool ExpectedMatch, const SourceMgr &SM, in PrintNoMatch() argument 1327 if (!ExpectedMatch) { in PrintNoMatch() 1342 ExpectedMatch ? FileCheckDiag::MatchNoneButExpected in PrintNoMatch() [all …]
|
/external/llvm-project/llvm/lib/FileCheck/ |
D | FileCheck.cpp | 1966 static void PrintMatch(bool ExpectedMatch, const SourceMgr &SM, in PrintMatch() argument 1972 if (ExpectedMatch) { in PrintMatch() 1982 FileCheckDiag::MatchType MatchTy = ExpectedMatch in PrintMatch() 1996 (ExpectedMatch ? "expected" : "excluded")) in PrintMatch() 2002 Loc, ExpectedMatch ? SourceMgr::DK_Remark : SourceMgr::DK_Error, Message); in PrintMatch() 2009 static void PrintMatch(bool ExpectedMatch, const SourceMgr &SM, in PrintMatch() argument 2014 PrintMatch(ExpectedMatch, SM, CheckStr.Prefix, CheckStr.Loc, CheckStr.Pat, in PrintMatch() 2018 static void PrintNoMatch(bool ExpectedMatch, const SourceMgr &SM, in PrintNoMatch() argument 2025 if (!ExpectedMatch) { in PrintNoMatch() 2039 FileCheckDiag::MatchType MatchTy = ExpectedMatch in PrintNoMatch() [all …]
|