[clang-tools-extra] [clang-tidy] fix false positive that floating point variable only used in increment expr in cert-flp30-c (PR #108706)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 15 15:38:56 PDT 2024


================
@@ -111,6 +111,9 @@ Changes in existing checks
   <clang-tidy/checks/bugprone/casting-through-void>` check to suggest replacing
   the offending code with ``reinterpret_cast``, to more clearly express intent.
 
+- Improved :doc:`cert-flp30-c<clang-tidy/checks/cert/flp30-c>` check to 
+  fix false positive that floating point variable only used in increment expr.
----------------
5chmidti wrote:

nit: `where a floating point variable is only`

https://github.com/llvm/llvm-project/pull/108706


More information about the cfe-commits mailing list