Searched refs:getExtendedText (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/clang/unittests/Tooling/ |
D | SourceCodeTest.cpp | 27 using tooling::getExtendedText; 161 TEST(SourceCodeTest, getExtendedText) { in TEST() argument 166 getExtendedText(*CE, tok::TokenKind::semi, *Context)); in TEST() 170 EXPECT_EQ("x", getExtendedText(*P0, tok::TokenKind::semi, *Context)); in TEST() 171 EXPECT_EQ("x,", getExtendedText(*P0, tok::TokenKind::comma, *Context)); in TEST() 172 EXPECT_EQ("y", getExtendedText(*P1, tok::TokenKind::semi, *Context)); in TEST() 182 EXPECT_EQ("foo()", getExtendedText(*CE, tok::TokenKind::semi, *Context)); in TEST()
|
/external/llvm-project/clang/include/clang/Tooling/Transformer/ |
D | SourceCode.h | 79 StringRef getExtendedText(const T &Node, tok::TokenKind Next, in getExtendedText() function
|