[llvm-branch-commits] [clang-tools-extra] [clang-doc] Extract Info into JSON values (PR #138063)

Paul Kirth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon May 19 13:38:00 PDT 2025


================
@@ -162,15 +162,264 @@ Error MustacheHTMLGenerator::generateDocs(
   return Error::success();
 }
 
+static json::Value
+extractValue(const Location &L,
+             std::optional<StringRef> RepositoryUrl = std::nullopt) {
+  Object Obj = Object();
+  // Should there be Start/End line numbers?
----------------
ilovepi wrote:

No, I think that's still valid. This just has LineNumber, but we track Start/End. I think I actually added this when adapting/splitting up the patch. I can make it a TODO with more context.

https://github.com/llvm/llvm-project/pull/138063


More information about the llvm-branch-commits mailing list