[clang] [clang][Sema] support block pointers as non-type template parameters (PR #191694)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 19 14:06:08 PDT 2026
================
@@ -6844,7 +6849,7 @@ void CXXNameMangler::mangleValueInTemplateArg(QualType T, const APValue &V,
Out << "cv";
mangleType(T);
}
- if (T->isPointerType())
+ if (T->isPointerType() || T->isBlockPointerType())
----------------
ojhunt wrote:
right? it's kind of irksome that we have all of these _very_ similar functions, but have no easy way to know if the differences are important.
https://github.com/llvm/llvm-project/pull/191694
More information about the cfe-commits
mailing list