MISRAC2012-Dir-4.5
In this section:
Synopsis
(Advisory) Identifiers in the same namespace, with overlapping visibility, should be typographically unambiguous.
Enabled by default
No
Severity/Certainty
Low/Medium

Full description
Identifiers in the same namespace, with overlapping visibility, should be typographically unambiguous.
Coding standards
- MISRA C:2012 Dir-4.5
(Advisory) Identifiers in the same name space with overlapping visibility should be typographically unambiguous
Code examples
The following code example fails the check and will give a warning:
void example(void) {
int foo;
int f00;
}
The following code example passes the check and will not give a warning about this issue:
void example(void) {
int foo;
int bar;
}