Home
last modified time | relevance | path

Searched refs:asPlainText (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/support/
DMarkupTests.cpp118 EXPECT_EQ(P.asPlainText(), "'foo`bar`baz'"); in TEST()
162 EXPECT_EQ(P.asPlainText(), "One fish, two `fish`"); in TEST()
173 EXPECT_EQ(P.asPlainText(), "after"); in TEST()
177 EXPECT_EQ(P.asPlainText(), "after foobar"); in TEST()
181 EXPECT_EQ(P.asPlainText(), "after foobar bat"); in TEST()
185 EXPECT_EQ(P.asPlainText(), "after foobar batno space"); in TEST()
194 EXPECT_EQ(P.asPlainText(), "foo bazbar"); in TEST()
202 EXPECT_EQ(P.asPlainText(), "foo bar baz"); in TEST()
211 EXPECT_EQ(P.asPlainText(), "foo bar foo bar"); in TEST()
232 EXPECT_EQ(D.asPlainText(), ExpectedText); in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clangd/support/
DMarkup.h34 std::string asPlainText() const;
122 std::string asPlainText() const;
DMarkup.cpp339 std::string Block::asPlainText() const { in asPlainText() function in clang::clangd::markup::Block
412 OS << "- " << indentLines(D.asPlainText()) << '\n'; in renderPlainText()
488 std::string Document::asPlainText() const { in asPlainText() function in clang::clangd::markup::Document
/external/llvm-project/clang-tools-extra/clangd/unittests/
DHoverTests.cpp2052 SCOPED_TRACE(H->present().asPlainText()); in TEST()
2385 EXPECT_EQ(HI.present().asPlainText(), C.ExpectedRender); in TEST()
2470 EXPECT_EQ(Output.asPlainText(), C.ExpectedRenderPlainText); in TEST()
2509 EXPECT_EQ(HI.present().asPlainText(), ExpectedPlaintext); in TEST()
DCodeCompleteTests.cpp65 return arg.Documentation && arg.Documentation->asPlainText() == D;
1626 A.Documentation->asPlainText(), in TEST()
/external/llvm-project/clang-tools-extra/clangd/
DClangdLSPServer.cpp1204 R.contents.value = (*H)->present().asPlainText(); in onHover()
DCodeComplete.cpp1879 Result.value.append(Doc.asPlainText()); in renderDoc()