[PATCH] D131985: clang-tidy: strip useless parens from `return` statements

Oleg Smolsky via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 16 16:24:59 PDT 2022


oleg.smolsky marked 3 inline comments as done.
oleg.smolsky added a comment.

Thanks for the quick review, Eugene!



================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:110
+
+  Checks for `return` statements with redundant parenthesis.
+
----------------
Eugene.Zelenko wrote:
> Please use double back-ticks for language constructs.
Done.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/readability/return-with-redundant-parens.rst:4
+readability-return-with-redundant-parens
+=========================
+
----------------
Eugene.Zelenko wrote:
> Please make same length as check name.
Done


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/readability/return-with-redundant-parens.rst:6
+
+Checks for `return` statements with redundant parenthesis.
+
----------------
Eugene.Zelenko wrote:
> Please use double back-ticks for language constructs.
Done.


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

https://reviews.llvm.org/D131985



More information about the cfe-commits mailing list