-
Notifications
You must be signed in to change notification settings - Fork 12k
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++ 18.1.8 crash when using alias to template with std::enable_if_t #116246
Labels
Comments
sparr
changed the title
Crash when using alias to template with std::enable_if_t
clang++ 18.1.8 crash when using alias to template with std::enable_if_t
Nov 14, 2024
EugeneZelenko
added
clang:codegen
crash
Prefer [crash-on-valid] or [crash-on-invalid]
and removed
new issue
labels
Nov 14, 2024
Could you please try 19 or |
@llvm/issue-subscribers-clang-codegen Author: Clarence "Sparr" Risher (sparr)
I apologize that I wasn't able to creduce the attachment source here. I'm still actively working on the source in question. I may be able to come back to this and improve this bug report later. I'll also try with version 19.
This crash happened when I converted code like this: template <typename ThisType = coord_point_ob>
static const std::enable_if_t<Origin == origin::relative, ThisType> north{ Point::north };
template <typename ThisType = coord_point_ob>
static const std::enable_if_t<Origin == origin::relative, ThisType> north_east{ Point::north_east }; into code like this: template <typename ThisType = coord_point_ob>
using RelativeType = std::enable_if_t<Origin == origin::relative, ThisType>;
static const RelativeType north;
static const RelativeType north_east;
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I apologize that I wasn't able to creduce the attachment source here. I'm still actively working on the source in question. I may be able to come back to this and improve this bug report later. I'll also try with version 19.
This crash happened when I converted code like this:
into code like this:
coordinates.zip
The text was updated successfully, but these errors were encountered: