[PATCH] D154484: [clang-format] Add an option to remove redundant parentheses

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 5 15:07:23 PDT 2023


MyDeveloperDay added a comment.

I reckon you could detect the `=` condition between the matching paren don't you?  I ran this on my quite large code base and this was one of the only issues I've seen thus far..

This is a great feature, for my codebase this generated changes in about 10% of all files (but often only a couple of lines or so per file, mostly people doing return (*this);

I think this will be a great feature to have.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154484



More information about the cfe-commits mailing list