mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20: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"
|
||||
},
|
||||
if mode {
|
||||
"^#include <config/bitcoin-config.h> // IWYU pragma: keep$"
|
||||
"#include <config/bitcoin-config.h>"
|
||||
} else {
|
||||
"#include <config/bitcoin-config.h>" // Catch redundant includes with and without the IWYU pragma
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user