Skip to content

Conversation

@dave-bartolomeo
Copy link
Contributor

This query is supposed to look for constructors that unintentionally qualify as copy constructors due to default arguments. There are quite a few real-world projects that define such constructors intentionally. I've reduced the severity to "warning" and the precision to "low" due to the high false positive rate.

@dave-bartolomeo dave-bartolomeo requested a review from a team as a code owner May 30, 2019 00:50
@tibbes tibbes added this to the 1.21.0 milestone May 30, 2019
@jbj
Copy link
Contributor

jbj commented May 30, 2019

This needs a change note.

* @problem.severity error
* @precision high
* @problem.severity warning
* @precision low
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a pretty drastic change, but I agree this should be a warning and many of the results I found for this query don't look like they need addressing. So 👍.

This query is supposed to look for constructors that unintentionally qualify as copy constructors due to default arguments. There are quite a few real-world projects that define such constructors intentionally. I've reduced the severity to "warning" and the precision to "low" due to the high false positive rate.
@dave-bartolomeo
Copy link
Contributor Author

Added change note

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.

👍

@jbj jbj merged commit fff6c38 into github:master May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants