[PATCH] D81272: [clang-tidy] New check `misc-redundant-condition`

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 5 12:22:55 PDT 2020


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:78
 ^^^^^^^^^^
+- New :doc:`misc-redundant-condition
+  <clang-tidy/checks/misc-redundant-condition>` check.
----------------
Please keep alphabetical order in new checks list.


================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:81
+
+  Finds condition variables in nested `if` statements that were also checked
+  in the outer `if` statement and were not changed.
----------------
Please use double back-ticks for language constructs. Same in documentation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81272/new/

https://reviews.llvm.org/D81272





More information about the cfe-commits mailing list