Skip to content

Commit c969096

Browse files
committed
Merge pull request #5201 from sipa/order
Remove file and class order guidelines
2 parents 4e852e5 + be0e070 commit c969096

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

doc/coding.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,6 @@ gradually.
1212
- No indentation for public/protected/private or for namespaces.
1313
- No extra spaces inside parenthesis; don't do ( this )
1414
- No space after function names; one space after if, for and while.
15-
- Includes need to be ordered alphabetically, separate own and foreign headers with a new-line (example key.cpp):
16-
```c++
17-
#include "key.h"
18-
19-
#include "crypto/sha2.h"
20-
#include "util.h"
21-
22-
#include <openssl/foo.h>
23-
```
24-
- Class or struct keywords in header files need to be ordered alphabetically:
25-
```c++
26-
class CAlpha;
27-
class CBeta;
28-
```
2915

3016
Block style example:
3117
```c++

0 commit comments

Comments
 (0)