Skip to content

Commit

Permalink
Merge pull request zcash#5201 from sipa/order
Browse files Browse the repository at this point in the history
Remove file and class order guidelines
  • Loading branch information
gavinandresen committed Nov 3, 2014
2 parents 4e852e5 + be0e070 commit c969096
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions doc/coding.md
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down

0 comments on commit c969096

Please sign in to comment.