[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
Mon Jul 15 12:33:57 PDT 2024
================
@@ -50,7 +50,7 @@ Options
If the multiplication operands are compile-time constants (like literals or
are ``constexpr``) and fit within the source expression type, do not emit a
diagnostic or suggested fix. Only considers expressions where the source
- expression is a signed integer type.
+ expression is a signed integer type. Defaults to ``false``.
----------------
PiotrZSL wrote:
those options are invalid, but that can be fixed in general for all options at once anyway
https://github.com/llvm/llvm-project/pull/98352
More information about the cfe-commits
mailing list