File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,10 @@ class SymbolDocCommentVisitor
127127 llvm::raw_string_ostream &Out) const ;
128128
129129 void visitParagraphComment (const comments::ParagraphComment *P) {
130- FreeParagraphs[CommentPartIndex] = P;
131- CommentPartIndex++;
130+ if (!P->isWhitespace ()) {
131+ FreeParagraphs[CommentPartIndex] = P;
132+ CommentPartIndex++;
133+ }
132134 }
133135
134136 void visitParamCommandComment (const comments::ParamCommandComment *P) {
Original file line number Diff line number Diff line change @@ -292,6 +292,14 @@ Another paragraph)",
292292this is not treated as brief
293293
294294Another paragraph)" },
295+ {R"(
296+ @brief Some brief
297+ )" ,
298+ " " , " " , " " },
299+ {R"(
300+ Some brief
301+ )" ,
302+ " " , " " , " " },
295303 };
296304 for (const auto &C : Cases) {
297305 markup::Document Doc;
You can’t perform that action at this time.
0 commit comments