[clang-tools-extra] [clang-doc] Add a breadcrumb navigation bar (PR #173297)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 5 13:05:02 PST 2026
================
@@ -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
More information about the cfe-commits
mailing list