summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CodingStyle6
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
===============