[PATCH] D28462: clang-format: Add new style option AlignConsecutiveMacros
Manuel Klimek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 22 07:22:37 PDT 2019
klimek added inline comments.
================
Comment at: lib/Format/WhitespaceManager.cpp:482
+ // containing any matching token to be aligned and located after such token.
+ auto AlignCurrentSequence = [&] {
+ if (StartOfSequence > 0 && StartOfSequence < EndOfSequence) {
----------------
Ok, sorry, but you went one step further here than I imagined :)
The idea would be to unlinline this (and only this :D) and call it AligneMacroSequence.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D28462/new/
https://reviews.llvm.org/D28462
More information about the cfe-commits
mailing list