[PATCH] D101868: [clang-format] Adds a formatter for aligning arrays of structs

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 6 04:05:16 PDT 2021


MyDeveloperDay added a comment.

In D101868#2799563 <https://reviews.llvm.org/D101868#2799563>, @HazardyKnusperkeks wrote:

> Remains the issue with the alignment, I would like to know @MyDeveloperDay 's opinion on that. Should the values be right aligned, or left aligned? As far as I see all alignment in clang-format is left until now.

I think whatever you choose someone will ask for the opposite, maybe consider making it an option now while you are in the code and understand it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101868



More information about the cfe-commits mailing list