[clang-tools-extra] [Clang-Tidy] Add google-runtime-float Clang-Tidy check (PR #156763)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 5 11:01:31 PDT 2025
================
@@ -11,6 +11,7 @@ add_clang_library(clangTidyGoogleModule STATIC
DefaultArgumentsCheck.cpp
ExplicitConstructorCheck.cpp
ExplicitMakePairCheck.cpp
+ FloatTypesCheck.cpp
----------------
vbvictor wrote:
We generally name files after check name. I had difficulty of finding `IntegerTypesCheck.cpp` in the past because I was looking for `RuntimeIntCheck.cpp`.
So this should be `RuntimeFloatCheck.cpp`, `RuntimeFloatCheck.h`
https://github.com/llvm/llvm-project/pull/156763
More information about the cfe-commits
mailing list