HomePhabricator

[LINTER] Remove empty lines at the beginning of a block

Description

[LINTER] Remove empty lines at the beginning of a block

Summary:
Follow-up for https://reviews.bitcoinabc.org/D4678?id=14718#inline-29056

Documentation:
https://releases.llvm.org/8.0.0/tools/clang/docs/ClangFormatStyleOptions.html

Test Plan:
Return no error:

arc lint --everything

Edit src/init.cpp and add an empty newline after any opening block.

arc lint -- src/init.cpp

Check the linter proposes to remove the newline.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: markblundeberg

Differential Revision: https://reviews.bitcoinabc.org/D4754

Details

Provenance
FabienAuthored on Dec 18 2019, 09:42
nakihitoPushed on Dec 18 2019, 21:18
Reviewer
Restricted Project
Differential Revision
D4754: [LINTER] Remove empty lines at the beginning of a block
Parents
rSTAGING6988f8f073d5: test: Add missing LIBBITCOIN_ZMQ to test_test_bitcoin_LDADD
Branches
Unknown
Tags
Unknown