Skip to content

Conversation

jketema
Copy link
Contributor

@jketema jketema commented Dec 13, 2024

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.

@Copilot Copilot AI review requested due to automatic review settings December 13, 2024 09:50
@jketema jketema requested a review from a team as a code owner December 13, 2024 09:50
Copy link
Contributor

@Copilot Copilot AI left a 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 be NonThrowing instead of NonThrowingFunction.
* 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 to NonThrowing 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

### 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.
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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).

geoffw0
geoffw0 previously approved these changes Dec 16, 2024
Copy link
Contributor

@geoffw0 geoffw0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jketema jketema merged commit fa5cc90 into github:main Dec 16, 2024
12 checks passed
@jketema jketema deleted the changenote branch December 16, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants