Home
last modified time | relevance | path

Searched refs:asMarkdown (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/support/
DMarkupTests.cpp21 return Paragraph().appendText(Text.str()).asMarkdown(); in escape()
111 EXPECT_EQ(P.asMarkdown(), "`* foo !+ bar * baz`"); in TEST()
116 EXPECT_EQ(P.asMarkdown(), "`foo``bar``baz`"); in TEST()
123 EXPECT_EQ(P.asMarkdown(), "` ``foo `"); in TEST()
126 EXPECT_EQ(P.asMarkdown(), "` foo`` `"); in TEST()
129 EXPECT_EQ(P.asMarkdown(), "` ``foo`` `"); in TEST()
134 EXPECT_EQ(D.asMarkdown(), "```cpp\n" in TEST()
139 EXPECT_THAT(D.asMarkdown(), "```cpp\n" in TEST()
144 EXPECT_EQ(D.asMarkdown(), "````cpp\n" in TEST()
149 EXPECT_EQ(D.asMarkdown(), "`````cpp\n" in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clangd/support/
DMarkup.h33 std::string asMarkdown() const;
120 std::string asMarkdown() const;
DMarkup.cpp332 std::string Block::asMarkdown() const { in asMarkdown() function in clang::clangd::markup::Block
402 OS << "- " << indentLines(D.asMarkdown()) << '\n'; in renderMarkdown()
484 std::string Document::asMarkdown() const { in asMarkdown() function in clang::clangd::markup::Document
/external/llvm-project/clang-tools-extra/clangd/unittests/
DHoverTests.cpp2469 EXPECT_EQ(Output.asMarkdown(), C.ExpectedRenderMarkdown); in TEST()
2481 EXPECT_EQ(HI.present().asMarkdown(), "### variable `foo`"); in TEST()
2502 EXPECT_EQ(HI.present().asMarkdown(), ExpectedMarkdown); in TEST()
/external/llvm-project/clang-tools-extra/clangd/
DClangdLSPServer.cpp1207 R.contents.value = (*H)->present().asMarkdown(); in onHover()
DCodeComplete.cpp1882 Result.value.append(Doc.asMarkdown()); in renderDoc()