NormEZ
NormEZ copied to clipboard
Failed to detect missplaced curly bracket
Actually missplaced curly brackets are not detected. According to the L4 rule :
"Opening curly brackets should be at the end of their line, except for functions where they must be placed alone on their line."
in this test case :
int main(void) {
----if (1)
----{
--------return (1);
----}
----return (0);
}
missplaced curly bracket are not detected for the function AND the if statement.
Cheers,