================ @@ -2393,6 +2393,25 @@ static bool CheckConstexprFunctionBody(Sema &SemaRef, const FunctionDecl *Dcl, Kind)) return false; } + } else if (!Constructor->isDelegatingConstructor()) { + for (const Decl *decl : RD->decls()) { + if (const auto *inner = dyn_cast<CXXRecordDecl>(decl)) { ---------------- Fznamznon wrote:
Code-style NIT, the names of the variables should start from a capital. ```suggestion if (const auto *Inner = dyn_cast<CXXRecordDecl>(Decl)) { ``` https://github.com/llvm/llvm-project/pull/81042 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits