================ @@ -909,6 +910,13 @@ emitInfo(const RecordDecl *D, const FullComment *FC, Location Loc, RI->Template.emplace(); RI->Template->Specialization.emplace(); auto &Specialization = *RI->Template->Specialization; + auto *Mangler = ItaniumMangleContext::create( + D->getASTContext(), D->getASTContext().getDiagnostics()); + std::string MangledName; + llvm::raw_string_ostream Stream(MangledName); + Mangler->mangleCXXVTT(dyn_cast<CXXRecordDecl>(D), Stream); + Specialization.MangledName.emplace(MangledName); + delete Mangler; ---------------- ilovepi wrote:
Can it just be static to the function? https://github.com/llvm/llvm-project/pull/144617 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits