-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
[clang++] Assertion `Access != AS_none && "Access specifier is AS_none inside a record decl"' failed in clang::Decl::AccessDeclContextCheck() const #112208
Comments
@llvm/issue-subscribers-clang-frontend Author: Yihan Yang (yijan4845)
**This testcase is generated by a fuzzer.**
Compiler Explorer: https://godbolt.org/z/rv1h188aq This invalid code will crash on Clang Assertion Trunk, it seems that this goes back to clang-3.1: class C {
enum E { e1=0 };
void fun1(int, enum E;);
}; Stack dump:
|
This is likely similar to: #97230 Fix here: https://github.com/llvm/llvm-project/pull/97860/files we are calling |
Hi! This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:
If you have any further questions about this issue, don't hesitate to ask via a comment in the thread below. |
@llvm/issue-subscribers-good-first-issue Author: Yihan Yang (yijan4845)
**This testcase is generated by a fuzzer.**
Compiler Explorer: https://godbolt.org/z/rv1h188aq This invalid code will crash on Clang Assertion Trunk, it seems that this goes back to clang-3.1: class C {
enum E { e1=0 };
void fun1(int, enum E;);
}; Stack dump:
|
Would it be possible to assign this issue to me? |
This testcase is generated by a fuzzer.
Compiler Explorer: https://godbolt.org/z/rv1h188aq
This invalid code will crash on Clang Assertion Trunk, it seems that this goes back to clang-3.1:
Stack dump:
The text was updated successfully, but these errors were encountered: