Searched refs:RangeIs (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/clang/unittests/Tooling/Syntax/ |
D | TokensTest.cpp | 86 MATCHER_P(RangeIs, SourceRng, "") { 177 Matcher<syntax::Token> RangeIs(llvm::Annotations::Range R) const { in RangeIs() function in __anonedbc82220111::TokenCollectorTest 183 return ::RangeIs(Ls); in RangeIs() 359 ElementsAre(AllOf(Kind(tok::kw_int), RangeIs(Code.range("r1"))), in TEST_F() 360 AllOf(Kind(tok::identifier), RangeIs(Code.range("r2"))), in TEST_F() 361 AllOf(Kind(tok::equal), RangeIs(Code.range("r3"))), in TEST_F() 362 AllOf(Kind(tok::string_literal), RangeIs(Code.range("r4"))), in TEST_F() 363 AllOf(Kind(tok::semi), RangeIs(Code.range("r5"))), in TEST_F() 368 ElementsAre(AllOf(Kind(tok::kw_int), RangeIs(Code.range("r1"))), in TEST_F() 369 AllOf(Kind(tok::identifier), RangeIs(Code.range("r2"))), in TEST_F() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | XRefsTests.cpp | 293 MATCHER_P(RangeIs, R, "") { return arg.range == R; } 1671 ExpectedLocations.push_back(RangeIs(R)); in TEST() 1696 ExpectedLocations.push_back(RangeIs(R)); in TEST() 1755 ExpectedLocations.push_back(RangeIs(R)); in TEST() 1774 ElementsAre(RangeIs(Main.range()))); in TEST() 1786 ElementsAre(RangeIs(Main.range()), RangeIs(IndexedMain.range()))); in TEST() 1795 ElementsAre(RangeIs(Main.range()))); in TEST() 1813 ElementsAre(RangeIs(Main.range()))); in TEST() 1828 ElementsAre(RangeIs(Main.range()), RangeIs(IndexedMain.range()))); in TEST()
|
D | ParsedASTTests.cpp | 97 MATCHER_P(RangeIs, R, "") { 444 EXPECT_THAT(Inc.IncTok.range(SM), RangeIs(IncRange)); in TEST()
|