Addresses http://llvm.org/PR40418
When using AlignConsecutiveDeclarations: true
variables with Attributes would not be aligned correctly
void f(int extremlylongparameternamexxxxxxxx1, long extremlylongparameternamexxxxxxxx2, int[[clang::nodiscard]] extremlylongparameternamexxxxxxxx3, int __attribute__((clang::nodiscard)) extremlylongparameternamexxxxxxxx4) { int a; unsigned long b; int[[clang::nodiscard]] c; int __attribute__((clang::nodiscard)) d; }
following this change, both parameters and variables with attributes will be aligned (space permitting)
void f(int extremlylongparameternamexxxxxxxx1, long extremlylongparameternamexxxxxxxx2, int [[clang::nodiscard]] extremlylongparameternamexxxxxxxx3, int __attribute__((clang::nodiscard)) extremlylongparameternamexxxxxxxx4) { int a; unsigned long b; int [[clang::nodiscard]] c; int __attribute__((clang::nodiscard)) d; }
Can you add a comment explaining the newly added startsSequences, or perhaps even pull out a function?