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

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 16 15:40:21 PDT 2022


njames93 added a comment.

The idea of this check is good, but restricting it to only return statements seems baffling. A general check that could remove useless parens would have a lot more value.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131985



More information about the cfe-commits mailing list