[clang-tools-extra] [clang-tidy] bugprone-implicit-widening ignores const exprs that fit (PR #98352)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 10 11:12:06 PDT 2024
================
@@ -0,0 +1,81 @@
+// RUN: %check_clang_tidy -check-suffixes=ALL,NI %s bugprone-implicit-widening-of-multiplication-result %t -- -- -target x86_64-unknown-unknown -x c++
----------------
PiotrZSL wrote:
i have feeling that this test isn't needed here at all, and second would be sufficient, basic scenarios could be covered in implicit-widening-of-multiplication-result.cpp file.
https://github.com/llvm/llvm-project/pull/98352
More information about the cfe-commits
mailing list