-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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++: Test C++20 implicit array sizes. #16956
Conversation
Implement NewArrayExpr.getArraySize()
Do we use |
I can't find any. |
@@ -0,0 +1,4 @@ | |||
--- |
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.
The change should go in cpp/ql/lib/change-notes
(it's a library change, not a query change). That should also fix the error you're getting now.
I'm finding |
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.
LGTM.
Adds tests for C++ 20 implicit new array sizes. Also reviewed the QL libraries and did not find any use of
NewArrayExpr.getExtent()
that would benefit from usinggetArraySize()
instead.