- remove some missplaced ;
- ensure end of a namespace is clearly visible
- use same formatting when using namespace
ensure clean and consistent "namespace" usage #4398
pull Diapolo wants to merge 2 commits into bitcoin:master from Diapolo:namespace changing 10 files +74 −46-
Diapolo commented at 12:19 PM on June 24, 2014: none
-
e10dcf27b4
ensure clean and consistent "namespace" usage
- remove some missplaced ; - ensure end of a namespace is clearly visible - use same formatting when using namespace
-
86fe1b864b
update coding.md to reflect changes by pull
- also mention alphabetical include ordering
-
laanwj commented at 10:16 AM on June 26, 2014: member
ACK!
-
in doc/coding.md:None in 86fe1b864b
29 | + // When something fails, return early 30 | + if (!Something()) 31 | + return false; 32 | + ... 33 | + } 34 | +
laanwj commented at 10:19 AM on June 26, 2014:Ideally we should also have an if/else if/else statement in here. I always wonder whether to put the } on the same line as the else, etc.
Diapolo commented at 11:38 AM on June 26, 2014:What do you suggest? I'd like to add a clarification for this also.
<pre> // When something fails, return early if (!Something()) { .... return false; } else if(SomethingElse()) { .... return false; } else return true; </pre>
or
<pre> // When something fails, return early if (!Something()) { .... return false; } else if(SomethingElse()) { .... return false; } else return true; </pre>
BitcoinPullTester commented at 10:45 AM on June 26, 2014: noneAutomatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4398_86fe1b864b109869659f140af07047163637a673/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
laanwj merged this on Jun 28, 2014laanwj closed this on Jun 28, 2014laanwj referenced this in commit 9125ef9421 on Jun 28, 2014Diapolo deleted the branch on Jun 30, 2014MarcoFalke locked this on Sep 8, 2021Contributors
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC
More mirrored repositories can be found on mirror.b10c.me