diff options
author | sandmann <sandmann> | 2004-05-18 07:48:50 +0000 |
---|---|---|
committer | sandmann <sandmann> | 2004-05-18 07:48:50 +0000 |
commit | cc477a23dc9d7fb4b534d67265b3e3b2a442bb0a (patch) | |
tree | 291c79830282b84f849615afcd009684a62ce794 /CODINGSTYLE |
Initial revision
Diffstat (limited to 'CODINGSTYLE')
-rw-r--r-- | CODINGSTYLE | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/CODINGSTYLE b/CODINGSTYLE new file mode 100644 index 0000000..720629e --- /dev/null +++ b/CODINGSTYLE @@ -0,0 +1,23 @@ +Indent: + + - + + +Rules for braces +================ + + - if one branch of an if statement has braces, then both brances must + have braces + +if (foo) +{ + something(); + something_else(); +} +else +{ + blah(); +} + + - if a branch of an if statement spans more than one line, then it must + have braces.
\ No newline at end of file |