[clang] [Clang] Implement consteval blocks for C++26 (PR #188665)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 14 15:49:36 PDT 2026


================
@@ -832,6 +832,7 @@ void CIRGenFunction::emitDecl(const Decl &d, bool evaluateConditionDecl) {
   case Decl::Function:     // void X();
   case Decl::EnumConstant: // enum ? { X = ? }
   case Decl::StaticAssert: // static_assert(X, ""); [C++0x]
----------------
Sirraide wrote:

Presumably this code is just ancient and predates C++11 officially being a thing

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


More information about the cfe-commits mailing list