================
@@ -67,6 +70,46 @@ static void writeSourceFileRef(const ClangDocContext &CDCtx, 
const Location &L,
   OS << "\n\n";
 }
 
+static void extractCommentText(const CommentInfo &Comment,
+                               llvm::raw_ostream &OS) {
+
+  OS << Comment.Text;
+  bool FirstChild = true;
+
+  for (size_t Idx = 0, End = Comment.Children.size(); Idx < End; ++Idx) {
+    const auto &Child = Comment.Children[Idx];
+    llvm::SmallString<128> ChildBuffer;
+    llvm::raw_svector_ostream ChildOS(ChildBuffer);
----------------
SamrudhNelli wrote:

Oh, thanks for the insight.

https://github.com/llvm/llvm-project/pull/183754
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to