Page MenuHomePhabricator

[LINTER] Enforce using C++ style for void parameters
ClosedPublic

Authored by Fabien on Sep 3 2019, 10:28.

Details

Summary

This is a follow up from D3725 and should avoid introducing regressions
(see D3953). This diff also fixes the leftovers from D3725.

Test Plan

Should return nothing.

arc lint --everything

Edit src/key.h to change to line:

void ECC_Start();

to:

void ECC_Start(void);

Then run:

arc lint

and check the linter offers a fix.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
linter_cpp_void_functions
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 7303
Build 12649: Bitcoin ABC Buildbot (legacy)
Build 12648: arc lint + arc unit