[all-commits] [llvm/llvm-project] 75adb1: [clang-tidy] Fix handling of parentheses in bugpro...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Fri Feb 16 23:58:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75adb1226905693ac57e563f675e282e78ac491e
      https://github.com/llvm/llvm-project/commit/75adb1226905693ac57e563f675e282e78ac491e
  Author: Piotr Zegar <piotr.zegar at nokia.com>
  Date:   2024-02-17 (Sat, 17 Feb 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/non-zero-enum-to-bool-conversion.cpp

  Log Message:
  -----------
  [clang-tidy] Fix handling of parentheses in bugprone-non-zero-enum-to-bool-conversion (#81890)

Properly ignore parentheses in bitwise operators.

Closes #81515



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