[clang] [Clang] Allow explicit member specialization to differ from template declaration wrt constexpr (PR #145272)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 24 11:00:26 PDT 2025


================
@@ -12163,6 +12163,23 @@ bool Sema::CheckFunctionDeclaration(Scope *S, FunctionDecl *NewFD,
     }
   }
 
+  // C++11 [dcl.constexpr]p1: An explicit specialization of a constexpr
----------------
erichkeane wrote:

Update this to the latest wording please!  it is actually no longer specific to functions.

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


More information about the cfe-commits mailing list