Removed \n inside method declaration #4984

pull ENikS wants to merge 1 commits into bitcoin:master from ENikS:style_fix changing 1 files +1 −2
  1. ENikS commented at 3:30 PM on September 25, 2014: contributor

    Although technically it is not an error to declare method like this but it is rather unconventional. It would also be useful to be able to use grep/search when looking for this method

    Array read_json(const std::string& jsondata)
    
  2. Removed \n inside method declaration c3f0583079
  3. BitcoinPullTester commented at 3:44 PM on September 25, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4984_c3f058307983f25fbd58c5dd4eee2b100c5db3ef/ 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.

  4. sipa commented at 5:00 PM on September 25, 2014: member

    ACK (though this will be done automatically when we clang-format it).

  5. gavinandresen commented at 5:05 PM on September 25, 2014: contributor

    I'll channel Wladimir: NACK -- no whitespace changes, all the whitespace will be cleaned up as we move to clang-format.

  6. ENikS commented at 5:30 PM on September 25, 2014: contributor

    This one is rather different from the rest of the code. It is used in consuming of these generated test headers and important for someone who port it to new platform. It took me some digging to find the method because it is not easily recognizable in search results. So to make life a bit easier for these who comes next... But I guess it can wait for clang-format integration. After this PR is indexed by Google it should not matter when it is fixed. People will be able to find this method even in present form.

  7. Diapolo commented at 8:56 PM on September 25, 2014: none

    @sipa As I suggested, just do the clang format for all sources in dirs below main :). Excluding perhaps only that json stuff because of the license.

  8. laanwj commented at 8:21 AM on September 26, 2014: member

    Agree with @gavinandresen. Let's just put the tests through the clang-format-wrangler some time, and this will be fixed.

  9. laanwj closed this on Sep 26, 2014

  10. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

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-18 21:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me