Resolve new clang-tidy warnings
Once 3.19.0 settles down more, we should fix the new set of clang-tidy
warnings on master
(we shouldn't do it right away to avoid new code on release
branches making noise once merged). See !5504 (merged) for the set of new warnings which should be addressed (misc-no-recursion
should stay off hence its own commit). Most of them should be fixable with clang-tidy --fix
, one set of fixes per commit.