[all-commits] [llvm/llvm-project] 85aeb6: [clang-tidy] add readability-redundant-parentheses...

Congcong Cai via All-commits all-commits at lists.llvm.org
Thu Sep 25 16:15:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85aeb6ab777862be0b79976a34c13ff2954ca238
      https://github.com/llvm/llvm-project/commit/85aeb6ab777862be0b79976a34c13ff2954ca238
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-09-25 (Thu, 25 Sep 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/CMakeLists.txt
    M clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
    A clang-tools-extra/clang-tidy/readability/RedundantParenthesesCheck.cpp
    A clang-tools-extra/clang-tidy/readability/RedundantParenthesesCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/docs/clang-tidy/checks/readability/redundant-parentheses.rst
    A clang-tools-extra/test/clang-tidy/checkers/readability/redundant-parentheses.cpp

  Log Message:
  -----------
  [clang-tidy] add readability-redundant-parentheses (#159911)

This check wants to detect a common happened case that forgetting to
remove parenthese during modifying code.

---------

Co-authored-by: Victor Chernyakin <chernyakin.victor.j at outlook.com>
Co-authored-by: Baranov Victor <bar.victor.2002 at gmail.com>



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