We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 909d5b6 + 6563706 commit 77ceb11Copy full SHA for 77ceb11
Documentation/CodingGuidelines
@@ -227,7 +227,10 @@ For C programs:
227
the first statement (i.e. -Wdeclaration-after-statement).
228
229
- Declaring a variable in the for loop "for (int i = 0; i < 10; i++)"
230
- is still not allowed in this codebase.
+ is still not allowed in this codebase. We are in the process of
231
+ allowing it by waiting to see that 44ba10d6 (revision: use C99
232
+ declaration of variable in for() loop, 2021-11-14) does not get
233
+ complaints. Let's revisit this around November 2022.
234
235
- NULL pointers shall be written as NULL, not as 0.
236
0 commit comments