================
@@ -67,6 +67,23 @@ static void writeSourceFileRef(const ClangDocContext &CDCtx,
const Location &L,
OS << "\n\n";
}
+static std::string genRawText(const std::vector<CommentInfo> &Comments) {
+ std::string Result;
+ std::queue<const CommentInfo *> Q;
----------------
SamrudhNelli wrote:
Used a worklist since it's easier to parse the nested comments. I chose an
iterative method rather than implementing another recursive function.
https://github.com/llvm/llvm-project/pull/183085
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits