HomePhabricator

[LINTER] Prevent including a source file

Description

[LINTER] Prevent including a source file

Summary:
This linter detects the #include of *.c ,*.cc or *.cpp file.

Depends on D3333

Test Plan:
Modify src/init.cpp to include a *.c, *.cc or *.cpp file.

arc lint -- src/init.cpp

Check the linter detects the inclusion and thrown an error.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
FabienAuthored on Jun 13 2019, 15:45
FabienPushed on Jun 24 2019, 13:57
Reviewer
Restricted Project
Differential Revision
D3318: [LINTER] Prevent including a source file
Parents
rSTAGING288031bc0197: [consensus] Pin P2SH activation to block 173805 on mainnet
Branches
Unknown
Tags
Unknown