clang-tidy: fix `modernize-use-auto` lints
9 files changed