-
Notifications
You must be signed in to change notification settings - Fork 1.8k
C++: Test changes for discover_walk #317
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
Conversation
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.
This is a big diff, most of the changes appear to be trivial changes related to varargs or unnamed parameters. Nothing stood out to me as obviously wrong.
@@ -3,5 +3,4 @@ | |||
| usings.cpp:9:1:9:17 | using namespace N | | |||
| usings.cpp:18:3:18:13 | using bf | | |||
| usings.cpp:21:5:21:14 | using gf | | |||
| usings.cpp:34:3:34:20 | using tbf | |
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.
Any idea what's happened here?
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.
Fixed
@@ -100,20 +96,37 @@ isFromUninstantiatedTemplate | |||
| isfromtemplateinstantiation.cpp:93:55:93:55 | return ... | isfromtemplateinstantiation.cpp:93:7:93:15 | myMethod1 | | |||
| isfromtemplateinstantiation.cpp:94:7:94:15 | declaration of myMethod2 | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass<T> | | |||
| isfromtemplateinstantiation.cpp:94:7:94:15 | declaration of myMethod2 | isfromtemplateinstantiation.cpp:97:25:97:60 | myMethod2 | | |||
| isfromtemplateinstantiation.cpp:94:7:94:15 | declaration of myMethod2 | isfromtemplateinstantiation.cpp:97:52:97:52 | myMethod2 | |
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.
I'd like @jbj to look at these changes at some point (no need to hold back merging though).
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.
@ian-semmle and @nickrolfe, have you checked that the test changes in isfromtemplateinstantiation/*.expected
are what they should be? These tests are very sensitive to exactly the things you changed in the discover branch, and they contain some of the edge cases that have been problematic in the past.
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 changes look OK to me. There's a new | I | T |
row in isfromuninstantiatedtemplate, but that's probably the same issue as the existing rows.
8971ef2
to
4e6717b
Compare
4e6717b
to
ef15523
Compare
Temporarily disable operation call resolution
Kotlin: Workarounds for codeql-cli
No description provided.