[PATCH] D145737: PR60985: Fix merging of lambda closure types across modules.

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 14 21:05:02 PDT 2023


shafik added inline comments.


================
Comment at: clang/lib/Serialization/ASTReader.cpp:7364
   ReadingKindTracker ReadingKind(Read_Decl, *this);
+  Deserializing D(this);
 
----------------
Curious, why do we need this here and below.


================
Comment at: clang/lib/Serialization/ASTReaderDecl.cpp:2192
   if (WasDefinition)
-    ReadCXXRecordDefinition(D, /*Update*/false);
+    ReadCXXRecordDefinition(D, /*Update*/ false, LambdaContext,
+                            IndexInLambdaContext);
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145737/new/

https://reviews.llvm.org/D145737



More information about the cfe-commits mailing list