[clang] [libcxxabi] [clang][ItaniumMangle] Mangle friend function templates with a constr… (PR #110247)
Viktoriia Bakalova via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 30 00:25:52 PDT 2024
================
@@ -704,6 +704,15 @@ ItaniumMangleContextImpl::getEffectiveDeclContext(const Decl *D) {
return D->getLexicalDeclContext()->getRedeclContext();
}
+ if (const auto *FTD = dyn_cast<FunctionTemplateDecl>(D)) {
+ // Member-like constrained friends are mangled as if they were members of
----------------
VitaNuo wrote:
Great idea!
https://github.com/llvm/llvm-project/pull/110247
More information about the cfe-commits
mailing list