chore: apply fixes from clang_tidy (#3662)

9 files changed