[clang] [clang-tools-extra] [clang-tidy] bugprone-implicit-widening ignores unsigned consts (PR #101073)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 30 08:51:54 PDT 2024


================
@@ -49,8 +49,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.  Defaults to ``false``.
+   diagnostic or suggested fix.  Defaults to ``false``.
----------------
EugeneZelenko wrote:

Only for option values and names. Double back-ticks are for language constructs.

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


More information about the cfe-commits mailing list