diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2014-11-03 09:52:47 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2014-11-03 09:52:47 -0500 |
commit | c9690960709fd366d09b181b9f50cd7afc6924b3 (patch) | |
tree | 26701c6d3c5d52f64c5abd7c9eade0393866eed9 /doc/coding.md | |
parent | 4e852e57b1732026722056a6bf22dfcf3f5dd53d (diff) | |
parent | be0e0703f28c575619cb671a4a44813206a3f388 (diff) |
Merge pull request #5201 from sipa/order
Remove file and class order guidelines
Diffstat (limited to 'doc/coding.md')
-rw-r--r-- | doc/coding.md | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/doc/coding.md b/doc/coding.md index ceed8c18b4..b9d2006e3c 100644 --- a/doc/coding.md +++ b/doc/coding.md @@ -12,20 +12,6 @@ gradually. - No indentation for public/protected/private or for namespaces. - No extra spaces inside parenthesis; don't do ( this ) - No space after function names; one space after if, for and while. -- Includes need to be ordered alphabetically, separate own and foreign headers with a new-line (example key.cpp): -```c++ -#include "key.h" - -#include "crypto/sha2.h" -#include "util.h" - -#include <openssl/foo.h> -``` -- Class or struct keywords in header files need to be ordered alphabetically: -```c++ -class CAlpha; -class CBeta; -``` Block style example: ```c++ |