-
Notifications
You must be signed in to change notification settings - Fork 13
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
Amend clang::Stmt bitflag setup to the "empty" CXXSpliceExpr ctor #106
base: p2996
Are you sure you want to change the base?
Conversation
A more targeted change might be better - I think that the culprit might be here: Would you mind setting |
Is it ok to write it as |
The The constructor in question creates an "empty" Speaking of - there's also probably a bug here, because we aren't including the template keyword/arguments in the serialized representation of the |
Initialize Stmt::SpliceExprBits::HasTemplateKWAndArgsInfo to false. Before it was left uninitialized. Fixes issue 104.
I still need need to apply
on top of the PR's commit to not let clangd crash here. So this probable bug here might be related? |
I'm not so sure that those are related. Does the |
Gladly. The code parsed includes a precompiled header containing lots of STL headers.
|
Ah, of course - Yes, you're right; that change is also needed. I think adding the missing case to |
Before only the first eight bits were set.
Fixes issue 104.