Small update to CodingStyle document

Mention variable declarations (they should be at the beginning of code
blocks).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-07-16 09:16:47 -07:00
parent 42e8e6406b
commit 45acec0e25

View file

@ -104,6 +104,12 @@ Basic rules
}
}
- variable declarations
in C code we really like them to be at the beginning of a code block,
not interspersed in the middle.
in C++ we are a bit less strict about this - but still, try not to go
crazy.
Sample Settings
===============