[clang-tools-extra] [clang-doc] refactor JSON for better Mustache compatibility (PR #149588)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 21 17:52:21 PDT 2025
================
@@ -777,7 +778,10 @@ static void populateSymbolInfo(SymbolInfo &I, const T *D, const FullComment *C,
Mangler->mangleCXXVTable(CXXD, MangledStream);
else
MangledStream << D->getNameAsString();
- I.MangledName = MangledName;
+ if (MangledName.size() > 255)
+ I.MangledName = llvm::toStringRef(llvm::toHex(I.USR));
+ else
+ I.MangledName = MangledName;
----------------
ilovepi wrote:
I don't think I've run into that. For windows, you can opt out of those limits,and IIRC it applies to the full path, not just the filename. I don't recall seeing this limit on linux, but I havent' checked in a long time.
https://github.com/llvm/llvm-project/pull/149588
More information about the cfe-commits
mailing list