mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
42e8e6406b
commit
45acec0e25
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
===============
|
||||
|
||||
|
|
Loading…
Reference in a new issue