================
@@ -67,6 +67,30 @@ static void writeSourceFileRef(const ClangDocContext &CDCtx,
const Location &L,
OS << "\n\n";
}
+static std::string genRawText(const std::vector<CommentInfo> &Comments) {
----------------
ilovepi wrote:
why is this `genRawText()`? you don't seem to be doing that. Why you'd do that
isn't clear either.
I'd probably use an ArrayRef for the parameter, since it more generic than a
vector, and you can't mutate it either.
https://github.com/llvm/llvm-project/pull/183754
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits