A13-3-1
: Query reports about function overloads at the same location.
#796
Labels
false positive/false negative
An issue related to observed false positives or false negatives.
Standard-AUTOSAR
Affected rules
Description
This query reports two overloaded functions but at the same location in the code base, thereby causing confusion to the user. It may be good to check the location explicitly to avoid such a case. Please note that the implementation already checks if the overloaded function and the candidate function are not the same and also they are not Function Template Instantiation or Specialization. Still, the query results in the same function to be reported as the candidate as well as the overloaded function.
Example
Not able to minimize the problem
The text was updated successfully, but these errors were encountered: