mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
lint: Allow including bitcoin-config.h without IWYU pragma
This commit is contained in:
parent
eed7bb6496
commit
b24c622edf
@ -376,7 +376,7 @@ fn lint_includes_build_config() -> LintResult {
|
|||||||
"--files-with-matches"
|
"--files-with-matches"
|
||||||
},
|
},
|
||||||
if mode {
|
if mode {
|
||||||
"^#include <config/bitcoin-config.h> // IWYU pragma: keep$"
|
"#include <config/bitcoin-config.h>"
|
||||||
} else {
|
} else {
|
||||||
"#include <config/bitcoin-config.h>" // Catch redundant includes with and without the IWYU pragma
|
"#include <config/bitcoin-config.h>" // Catch redundant includes with and without the IWYU pragma
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user