[polly] [clang] [clang-format] Add AllowShortType and ExceptShortType options for AlwaysBreakAfterReturnType. (PR #78011)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 31 23:30:32 PST 2024


rmarker wrote:

> +1. In addition, we should deprecate `None` (in documentation only) and rename `AllowShortType` to `Automatic`, followed by `ExceptShortType` which means "`Automatic` except for short return types". Then IMO `ExceptShortType` is unambiguous. If you still think `NeverShortType` is clearer, I would change it to `NotShortType`.

Sounds like a plan.
Updated PR with changes.

https://github.com/llvm/llvm-project/pull/78011


More information about the cfe-commits mailing list