[CIR] Fix some clang-tidy problems in CIR (#125128)
commitfbf544c4226524d8518ebe375bad412a08358233
authorAndy Kaylor <akaylor@nvidia.com>
Fri, 31 Jan 2025 16:39:33 +0000 (31 08:39 -0800)
committerGitHub <noreply@github.com>
Fri, 31 Jan 2025 16:39:33 +0000 (31 08:39 -0800)
treec997c9fc9e5982e74990add815ffc0d0efc74177
parente2301d674976b84ba505065a9702f3376e05bc43
[CIR] Fix some clang-tidy problems in CIR (#125128)

This adds a .clang-tidy file to the clang/lib/CIR/FrontendAction
directory, moves and updates the incorrectly located
include/clang/CIR/FrontendAction .clang-tidy file, and updates two files
from a recent commit to bring them into conformance with previously
agreed upon rules for where to use LLVM naming conventions and where to
use MLIR naming conventions.
clang/include/clang/CIR/FrontendAction/.clang-tidy [moved from clang/include/clang/CIRFrontendAction/.clang-tidy with 75% similarity]
clang/include/clang/CIR/LowerToLLVM.h
clang/lib/CIR/FrontendAction/.clang-tidy [new file with mode: 0644]
clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp