[clang-tools-extra] [clang-tidy] Extend readability-redundant-parentheses to declarations (PR #196739)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Sat May 9 20:57:44 PDT 2026


================
@@ -641,6 +641,9 @@ Changes in existing checks
   note to suggest materializing the temporary range when iterating over temporary
   range expressions or initializer lists, as reusing them directly could be unsafe.
 
+- Improved :doc:`readability-redundant-parentheses
----------------
zeyi2 wrote:

Please maintain alphabetical order here :)

This should be placed before `readability-redundant-preprocessor` entry, please refer to the diff comments from the CI.

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


More information about the cfe-commits mailing list