[all-commits] [llvm/llvm-project] a12f4f: [clang-tidy] Add check for assignment or comparisi...

flovent via All-commits all-commits at lists.llvm.org
Thu Jun 5 05:18:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a12f4f0031c5448df1563a499d6295fd06b979ff
      https://github.com/llvm/llvm-project/commit/a12f4f0031c5448df1563a499d6295fd06b979ff
  Author: flovent <144676429+flovent at users.noreply.github.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/MathMissingParenthesesCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/readability/math-missing-parentheses.cpp

  Log Message:
  -----------
  [clang-tidy] Add check for assignment or comparision operators' operand in `readability-math-missing-parentheses` (#141345)

Fixes false negative in #141249. 

Add check for math binary operators which are operands of assignment or
comparision operators.

Closes #141249.



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