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

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 27 18:53:16 PDT 2024


ChuanqiXu9 wrote:

> Quick update, all clang/cxx-library tests pass with the change but when I test it on my real project with modules I see crash or assert in [ASTDeclMerger::MergeDefinitionData](https://github.com/llvm/llvm-project/blob/main/clang/lib/Serialization/ASTReaderDecl.cpp#L2081) about faked lambda. I'm still creating small reproducer but it looks like it happens when lambda is inside class member function + some other conditions that I don't understand yet.

Thanks. And I am curious about your real project, is it open source?

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


More information about the cfe-commits mailing list