[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
Mon Jul 10 12:30:39 PDT 2023


HazardyKnusperkeks accepted this revision.
HazardyKnusperkeks added a comment.

In D154484#4483659 <https://reviews.llvm.org/D154484#4483659>, @sstwcw wrote:

> Did you forget about GNU statement expressions?
>
>   if (({
>         foo();
>         bar();
>       })) {
>   }

I wouldn't haven forgotten it, I've never heard of it.


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

https://reviews.llvm.org/D154484



More information about the cfe-commits mailing list