HomePhabricator

build: Add format string linter

Description

build: Add format string linter

Summary:
This linter checks that the number of arguments passed to each variadic format
string function matches the number of format specifiers in the format string.

Backport of core PR13705

Test Plan:

./test/lint/lint-format-strings.sh

Reviewers: jasonbcox, #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix, schancel, teamcity

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

Details

Provenance
FabienAuthored on Dec 22 2018, 18:28
FabienPushed on Dec 28 2018, 10:17
Reviewer
Restricted Project
Differential Revision
D2025: build: Add format string linter
Parents
rSTAGING570a09320a31: Remove redundant connect_nodes call in abc-parkedchain.py
Branches
Unknown
Tags
Unknown