This is a backport of core#19077 [11/26] https://github.com/bitcoin/bitcoin/pull/19077/commits/bf90e033f4fe86cfb90492c7e0962278ea3a146d
Depends on D10553
With clang-tiy:
ninja