================
@@ -67,6 +68,49 @@ static void writeSourceFileRef(const ClangDocContext &CDCtx,
const Location &L,
OS << "\n\n";
}
+static std::string extractCommentText(const CommentInfo &Comment) {
+ std::vector<std::string> Parts;
----------------
evelez7 wrote:
We should be reserving some space for this vector before pushing to it, like
the size of Comment's children + if it has some text itself.
https://github.com/llvm/llvm-project/pull/183754
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits