[PATCH] D152443: Add SpaceAfterOperatorKeyword style option for clang-format
Alexander Hinze via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 8 15:25:55 PDT 2023
KitsuneAlex added a comment.
In D152443#4406923 <https://reviews.llvm.org/D152443#4406923>, @HazardyKnusperkeks wrote:
> Can you add a note to the release notes also please?
Of course! Doing that right now :)
Another thing i was wondering was if it would make sense to add a separate option for deciding whether to insert a space between the operator keyword
specifically in the case of a call expression.
Meaning operator overload definitions would use **SpaceAfterOperatorKeyword** while operator call expressions would use
something like **SpaceAfterOperatorCall** maybe. In the case this sounds like a good idea to you, i'd also suggest to have **SpaceAfterOperatorCall**
use **SpaceAfterOperatorKeyword** as its default value.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152443/new/
https://reviews.llvm.org/D152443
More information about the cfe-commits
mailing list