[clang] [C++20][Modules] Fix crash when function and lambda inside loaded from different modules (PR #109167)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 23 18:57:46 PDT 2024


================
@@ -532,6 +532,10 @@ class ASTReader
   /// namespace as if it is not delayed.
   DelayedNamespaceOffsetMapTy DelayedNamespaceOffsetMap;
 
+  /// Mapping from FunctionDecl IDs to the corresponding lambda IDs.
----------------
ChuanqiXu9 wrote:

Same here. Let's explain our intention.

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


More information about the cfe-commits mailing list