[all-commits] [llvm/llvm-project] 10bdcf: [clang-tidy] Handle implicit casts in hicpp-signed...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Wed May 8 11:11:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10bdcf6b4cd37d017753b3821fbf8eb2ad924a1a
      https://github.com/llvm/llvm-project/commit/10bdcf6b4cd37d017753b3821fbf8eb2ad924a1a
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-05-08 (Wed, 08 May 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/hicpp/SignedBitwiseCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/hicpp/signed-bitwise-integer-literals.cpp

  Log Message:
  -----------
  [clang-tidy] Handle implicit casts in hicpp-signed-bitwise for IgnorePositiveIntegerLiterals (#90621)

Improved hicpp-signed-bitwise check by ignoring false positives
involving positive integer literals behind implicit casts when
IgnorePositiveIntegerLiterals is enabled.

Closes #89367



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list