[clang] [clang] Handle constructor closures with consteval default args (PR #203554)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 19 15:58:47 PDT 2026


================
@@ -2334,6 +2334,14 @@ void ASTDeclReader::VisitCXXConstructorDecl(CXXConstructorDecl *D) {
         InheritedConstructor(Shadow, Ctor);
   }
 
+  if (unsigned NumArgs = Record.readUInt32()) {
----------------
efriedma-quic wrote:

Testcase for serialization?  See #200994.

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


More information about the cfe-commits mailing list