File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ gradually.
14
14
- No indentation for public/protected/private or for namespaces.
15
15
- No extra spaces inside parenthesis; don't do ( this )
16
16
- No space after function names; one space after if, for and while.
17
+ - ` ++i ` is preferred over ` i++ ` .
17
18
18
19
Block style example:
19
20
``` c++
@@ -24,7 +25,7 @@ class Class
24
25
bool Function(char* psz, int n)
25
26
{
26
27
// Comment summarising what this section of code does
27
- for (int i = 0; i < n; i++ ) {
28
+ for (int i = 0; i < n; ++i ) {
28
29
// When something fails, return early
29
30
if (!Something())
30
31
return false;
@@ -231,9 +232,9 @@ General Bitcoin Core
231
232
- * Rationale* : Makes sure that they pass thorough testing, and that the tester will keep passing
232
233
on the master branch. Otherwise all new pull requests will start failing the tests, resulting in
233
234
confusion and mayhem
234
-
235
+
235
236
- * Explanation* : If the test suite is to be updated for a change, this has to
236
- be done first
237
+ be done first
237
238
238
239
Wallet
239
240
-------
You can’t perform that action at this time.
0 commit comments