-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
C++: Fix types of struct/union templates and fix assumptions on proxy classes #18483
base: main
Are you sure you want to change the base?
Conversation
522e5f7
to
9846322
Compare
|
||
bindingset[kind] | ||
int getKind(int kind) { | ||
if kind in [10, 11, 12] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rows with 10, 11, 12 should not have been generated for a long time. However, before this PR there's no upgrade script that replaces these numbers with something within the used range of numbers. This means we could not remove any references to 10, 11, and 12. By adding this to this upgrade script we can now remove those references.
@@ -771,12 +771,13 @@ decltypes( | |||
|
|||
/* | |||
case @usertype.kind of | |||
1 = @struct | |||
| 0 = @unknown_usertype |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0 was used in practice already, so this just makes its use explicit.
b9693fa
to
27242ce
Compare
Pull Request checklist
All query authors
.qhelp
. See the documentation in this repository.Internal query authors only
.ql
,.qll
, or.qhelp
files. See the documentation (internal access required).