[clang] Force an ICE when reentrantly reading a concept decl (PR #224677)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 20 19:13:10 PDT 2026


================
@@ -3249,7 +3249,14 @@ class ImplicitConceptSpecializationDecl final
     : public Decl,
       private llvm::TrailingObjects<ImplicitConceptSpecializationDecl,
                                     TemplateArgument> {
-  unsigned NumTemplateArgs;
+  unsigned NumTemplateArgs : 31;
----------------
ChuanqiXu9 wrote:

What I had in mind was:

``
#ifndef NDEBUG
...
#else
...
#endif

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


More information about the cfe-commits mailing list