[PATCH] D152975: [clang-format] Allow break after return keyword

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 12:49:38 PDT 2023


HazardyKnusperkeks added a comment.

I'd like more tests (and examples how it is before the change), some operations (+, *, etc.), your stated string literal with and without many spaces, call chains.

I have nothing against the introduction, I'm just not sure about the default value and the position of the check in `splitPenalty`.

And please add a remark in the changelog.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152975



More information about the cfe-commits mailing list