-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Modules] "Failed to find all of the visible " "constructors by walking all the " "lexical members of the context." with inheriting constructors + noncopyable class #61065
Comments
@llvm/issue-subscribers-clang-modules |
SNSystems/llvm-debuginfo-analyzer@2c9613c
Fix re-landed in bc95f27. |
…p table in ASTWriter" This reverts commit bc95f27, originally db987b9. There are other issues that were not caught. Reopen llvm#61065
…p table in ASTWriter" This reverts commit bc95f27, originally db987b9. clang/test/Modules/pr61065.cppm is retained to make relands show less diff. There are other module-related issues that were not caught, related to false positive errors like "error: no matching constructor for initialization of 'union (anonymous union at ..." Reopen #61065
@MaskRay Did you want to reopen this issue? |
@MaskRay hi, would you like to provide a reproducer? |
I've added a reproducer and a fix in D148515. |
…e lookup table in ASTWriter" This reverts commit 67b298f. We got linker errors with undefined symbols during a compiler release and tracked it down to this change. I am in the process of understanding what is happening and getting a reproducer. Sorry for reverting this again. I will reopen #61065 until we fix this.
Unfortunately we hit another issue with the reland during the compiler releases. We see 'undefined symbol' errors from the linkers. I had to revert again, sorry for the trouble. I will report back as soon as I have a repro or have a better idea of what's going on there. |
…p table in ASTWriter" This reverts commit bc95f27, originally db987b9. clang/test/Modules/pr61065.cppm is retained to make relands show less diff. There are other module-related issues that were not caught, related to false positive errors like "error: no matching constructor for initialization of 'union (anonymous union at ..." Reopen llvm#61065
Just wanted to give an update that I still couldn't come up with a small repro here. |
@ilya-biryukov hi, are you still or planning to work on this? |
We're seeing this assertion failure when importing C++ headers into Swift for Swift/C++ interoperability. Here's a small reproducer that doesn't use Swift (credits to @kateinoigakukun): apple#7661 (comment)
|
Given the following valid set of translation units:
When compiled with
Leads to an assertion failure of
The text was updated successfully, but these errors were encountered: