[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


================
@@ -233,6 +233,10 @@ class ASTWriter : public ASTDeserializationListener,
   /// instead of comparing the result of `getDeclID()` or `GetDeclRef()`.
   llvm::SmallPtrSet<const Decl *, 32> PredefinedDecls;
 
+  /// Map that provides the ID of function to the vector of lambdas inside it.
----------------
ChuanqiXu9 wrote:

Same here. I don't hate some redundancy.

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


More information about the cfe-commits mailing list