Searched refs:asMarkdown (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/support/ |
D | MarkupTests.cpp | 21 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/ |
D | Markup.h | 33 std::string asMarkdown() const; 120 std::string asMarkdown() const;
|
D | Markup.cpp | 332 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/ |
D | HoverTests.cpp | 2469 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/ |
D | ClangdLSPServer.cpp | 1207 R.contents.value = (*H)->present().asMarkdown(); in onHover()
|
D | CodeComplete.cpp | 1882 Result.value.append(Doc.asMarkdown()); in renderDoc()
|