[PATCH] D28462: clang-format: Add new style option AlignConsecutiveMacros

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 28 02:21:00 PST 2019


MyDeveloperDay added a comment.

> ClamAV recently started using clang-format.  We published this blog post about how we're using it: https://blog.clamav.net/2019/02/clamav-adopts-clang-format.html  One of the things I called out in the blog post is that we really want this feature, and presently we have to use the "// clang-format on/off" markers throughout our code mostly to keep our consecutive macros aligned.

Would you please consider logging your struct example from your blog at https://bugs.llvm.org,  I see a large number of people using clang format on/off in github for this and similar issues (including google code!), looks like clang-format needs some struct breaking rules


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

https://reviews.llvm.org/D28462





More information about the cfe-commits mailing list