[clang-tools-extra] [Clang-doc] Display values and comments in MD (PR #183754)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 3 11:02:32 PST 2026
================
@@ -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
More information about the cfe-commits
mailing list