Skip to content

Commit 57f1c1a

Browse files
committed
Revert documentation changes as requested by reviewer
1 parent 8103e2a commit 57f1c1a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

clang-tools-extra/docs/clang-tidy/checks/readability/simplify-boolean-expr.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,6 @@ Examples:
8080
``if (x) return true; return false;``
8181
becomes ``return static_cast<bool>(x);``
8282

83-
.. note::
84-
85-
This check properly handles C++17 ``if`` statements with initialization
86-
statements (e.g. ``if (int i = 0; i) ...``). It will not report false positives
87-
or suggest invalid fixes for the condition variable in these cases.
88-
8983
Options
9084
-------
9185

0 commit comments

Comments
 (0)