================
@@ -321,6 +321,67 @@ serializeCommonAttributes(const Info &I, json::Object &Obj,
       Obj["Location"] =
           serializeLocation(Symbol->DefLoc.value(), RepositoryUrl);
   }
+
+  if (!I.Contexts.empty()) {
----------------
ilovepi wrote:

The logic in this block seems mostly self contained, so lets split this up into 
some helper functions/methods. Maybe smth like `generateContext()` or 
`createHtmlRefCtxt()`?

https://github.com/llvm/llvm-project/pull/173297
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to