Home
last modified time | relevance | path

Searched refs:getExtendedText (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/unittests/Tooling/
DSourceCodeTest.cpp27 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/
DSourceCode.h79 StringRef getExtendedText(const T &Node, tok::TokenKind Next, in getExtendedText() function