- Notifications
You must be signed in to change notification settings - Fork70
Closed
Description
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
template<typename... T>voidsuppress_unused_warning(T &&...) {}