[clang] [clang][Sema] support block pointers as non-type template parameters (PR #191694)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 15 13:50:36 PDT 2026


================
@@ -1473,6 +1468,8 @@ QualType Sema::CheckNonTypeTemplateParameterType(QualType T,
   if (T->isIntegralOrEnumerationType() ||
       //   -- pointer to object or pointer to function,
       T->isPointerType() ||
+      //   -- block pointer type,
----------------
efriedma-quic wrote:

The comments here are quoting the C++ standard; please don't mix it together.

https://github.com/llvm/llvm-project/pull/191694


More information about the cfe-commits mailing list