-
Notifications
You must be signed in to change notification settings - Fork 12.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
__has_embed: Assertion `Length < Tok.getLength() && "NeedsCleaning flag set on token that didn't need cleaning!"' failed. #128384
Labels
c23
c++26
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
crash-on-valid
embed
#embed (not embedded systems)
Comments
@llvm/issue-subscribers-clang-frontend Author: Hubert Tong (hubert-reinterpretcast)
With an assertions-enabled build, an assertion failure is observed for a valid use of `__has_embed` which uses line splicing. Compiler Explorer link: https://godbolt.org/z/xKc5Txa4n
Source (
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
c23
c++26
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
crash-on-valid
embed
#embed (not embedded systems)
With an assertions-enabled build, an assertion failure is observed for a valid use of
__has_embed
which uses line splicing. Compiler Explorer link: https://godbolt.org/z/xKc5Txa4nSource (
<stdin>
)Compiler Invocation
Actual Compiler Output
Expected Compiler Input
(successful preprocessing)
Compiler Version Info
(see output above)
The text was updated successfully, but these errors were encountered: