diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-16 09:16:47 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-16 09:16:47 -0700 |
commit | 45acec0e25eda766b77b297509d78e2cd81ce706 (patch) | |
tree | ef28040ddb5b065ebcee76b5af3a0d38fb0521cc /CodingStyle | |
parent | 42e8e6406bac6cc0697fccc9db56f4bf333e3a55 (diff) | |
download | subsurface-45acec0e25eda766b77b297509d78e2cd81ce706.tar.gz |
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>
Diffstat (limited to 'CodingStyle')
-rw-r--r-- | CodingStyle | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CodingStyle b/CodingStyle index 646a4b9fa..c053cd2d4 100644 --- a/CodingStyle +++ b/CodingStyle @@ -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 =============== |