[PATCH] D127270: [clang-format] Add space in placement new expression
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 21 12:52:27 PDT 2022
HazardyKnusperkeks added inline comments.
================
Comment at: clang/include/clang/Format/Format.h:3555
AfterFunctionDefinitionName(false), AfterIfMacros(false),
- AfterOverloadedOperator(false), AfterRequiresInClause(false),
- AfterRequiresInExpression(false), BeforeNonEmptyParentheses(false) {}
+ AfterOverloadedOperator(false), AfterPlacementOperator(APO_Leave),
+ AfterRequiresInClause(false), AfterRequiresInExpression(false),
----------------
We change the behavior here, I'm still not convinced we should do that. Although I'm a big supporter of the `Leave` option.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127270/new/
https://reviews.llvm.org/D127270
More information about the cfe-commits
mailing list