-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressA false positive or false negative report which is expected to take <1 day effort to addressImpact-Mediumfalse positive/false negativeAn issue related to observed false positives or false negatives.An issue related to observed false positives or false negatives.user-reportIssue reported by an end user of CodeQL Coding StandardsIssue reported by an end user of CodeQL Coding Standards
Description
Affected rules
A8-4-7
Description
User defined operators are expected to conform to a particular prototype, and should not be flagged by this rule.
We should also consider whether there are any other examples of fixed prototype functions that might be erroneously reported by theis rule.
Example
class some_base_class {
public:
constexpr some_base_class() noexcept = default;
constexpr std::size_t size() const noexcept { return 0; }
protected:
...
some_base_class& operator=(const some_base_class&) = default; // error here
};
Metadata
Metadata
Assignees
Labels
Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressA false positive or false negative report which is expected to take <1 day effort to addressImpact-Mediumfalse positive/false negativeAn issue related to observed false positives or false negatives.An issue related to observed false positives or false negatives.user-reportIssue reported by an end user of CodeQL Coding StandardsIssue reported by an end user of CodeQL Coding Standards
Type
Projects
Status
Done