[PATCH] D116229: [clang-format] Add option to align pointers in C style casts differently

Gabriel Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 24 13:05:04 PST 2021


yodaldevoid abandoned this revision.
yodaldevoid added a comment.

In D116229#3209414 <https://reviews.llvm.org/D116229#3209414>, @owenpan wrote:

> In D116229#3208507 <https://reviews.llvm.org/D116229#3208507>, @curdeius wrote:
>
>> Why this option is useful? Why would someone want to have a different alignment in casts than in other places?
>> As such I'm opposed to introducing one more option. Is there any well established code style that has something like this?
>
> Yes, we should adhere to the policy <https://clang.llvm.org/docs/ClangFormatStyleOptions.html#adding-additional-style-options> when adding new options.

Understood. I'll close this out, then, as I don't know of a major project that needs this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116229



More information about the cfe-commits mailing list