Closed
Description
Affected rules
A2-10-1
Description
A2-10-1
states "An identifier declared in an inner scope shall not hide an identifier declared in an outer scope.". The existing query looks for user defined variables which cause hiding, but functions and types can also be hidden (and cause hiding).
Example
int a;
namespace b {
void a() { } // NON_COMPLIANT
int c() { return a; }
}