-
Notifications
You must be signed in to change notification settings - Fork 1.8k
C++: Add word missing from change note #18281
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.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (2)
cpp/ql/lib/change-notes/released/3.0.0.md:9
- The class name
NonThrowingFunction
should match the identifier in parentheses (semmle.code.cpp.models.interfaces.NonThrowing
). It should beNonThrowing
instead ofNonThrowingFunction
.
* The `NonThrowingFunction` class (`semmle.code.cpp.models.interfaces.NonThrowing`) has been deprecated. Please use the `NonCppThrowingFunction` class instead.
cpp/ql/lib/CHANGELOG.md:9
- The class name
NonThrowingFunction
should be corrected toNonThrowing
in the parenthesis to match the actual class name.
* The `NonThrowingFunction` class (`semmle.code.cpp.models.interfaces.NonThrowing`) has been deprecated. Please use the `NonCppThrowingFunction` class instead.
Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more
cpp/ql/lib/CHANGELOG.md
Outdated
### Deprecated APIs | ||
|
||
* The `NonThrowing` class (`semmle.code.cpp.models.interfaces.NonThrowing`) has been deprecated. Please use the `NonCppThrowingFunction` class instead. | ||
* The `NonThrowingFunction` class (`semmle.code.cpp.models.interfaces.NonThrowing`) has been deprecated. Please use the `NonCppThrowingFunction` class instead. |
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.
Should the bit in brackets be semmle.code.cpp.models.interfaces.NonThrowing
or semmle.code.cpp.models.interfaces.NonThrowing.NonThrowingFunction
?
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 read it as referring to the file, but I'm fine with whatever you think is best.
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.
Slight preference for the full path, but I don't have strong feelings either way.
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.
Changed it to semmle.code.cpp.models.interfaces.NonThrowing.NonThrowingFunction
(note that this dismissed your approval).
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 don't think it's worth propagating this to all the places where the change note has been copied, but at least this is correct now going forward.