[AST] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).

llvm-svn: 319487
GitOrigin-RevId: f71964a1847427d1f89562de81a05b4a01939905
5 files changed