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

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 7 06:59:56 PDT 2023


HazardyKnusperkeks added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:25808
 
+TEST_F(FormatTest, RemoveParentheses) {
+  FormatStyle Style = getLLVMStyle();
----------------
owenpan wrote:
> HazardyKnusperkeks wrote:
> > Should check for `__attribute((what ever))__`.
> What's special about this? It's agnostic about this option as it should be.
I did not see, that you already had an example with `__attribute__`.


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

https://reviews.llvm.org/D154484



More information about the cfe-commits mailing list