[clang-tools-extra] [Clang-doc] Display enum comments in HTML (PR #183085)

Samrudh Nelli via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 10 03:31:13 PDT 2026


================
@@ -249,14 +249,14 @@ void ClangDocCommentVisitor::parseComment(const comments::Comment *C) {
 
 void ClangDocCommentVisitor::visitTextComment(const TextComment *C) {
   if (!isWhitespaceOnly(C->getText()))
-    CurrentCI.Text = C->getText();
+    CurrentCI.Text = C->getText().trim();
----------------
SamrudhNelli wrote:

Sure, moved those to #185528

https://github.com/llvm/llvm-project/pull/183085


More information about the cfe-commits mailing list