A13-3-1
: Ignore false overloads with the same parameter type
#406
Labels
Difficulty-Low
A false positive or false negative report which is expected to take <1 day effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Medium
Phase III
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
A13-3-1
Description
getAnOverload()
produces incorrect results when files are extracted multiple times in different contexts. To avoid producing false positives, we should exclude cases where the "overload" has the same parameter type (i.e. an r-value reference type) as the original function being overloaded.Example
The text was updated successfully, but these errors were encountered: