[PATCH] D154484: [clang-format] Add an option to remove redundant parentheses
sstwcw via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 9 13:38:14 PDT 2023
sstwcw added a comment.
Did you forget about GNU statement expressions?
if (({
foo();
bar();
})) {
}
================
Comment at: clang/docs/ReleaseNotes.rst:804
- Add ``KeepEmptyLinesAtEOF`` to keep empty lines at end of file.
+- Add ``RemoveParenthese`` to remove redundant parentheses.
----------------
The option is misspelled.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154484/new/
https://reviews.llvm.org/D154484
More information about the cfe-commits
mailing list