[clang-tools-extra] [clang-tidy] bugprone-implicit-widening ignores const exprs that fit (PR #98352)

Chris Warner via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 10 12:47:08 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``.
----------------
cwarner-8702 wrote:

The other options all use double ticks for the default value; I'd think it should be the same for this one

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


More information about the cfe-commits mailing list