Is it possible to use clang-format to format struct members and function parameter names into columns?
For example:
struct
{
int
Following up on your post, I'm able to get the following:
struct
{
int alpha;
unsigned int beta;
MyObject * gamma;
};
void foobar( int alphaXXXXXXXXXX,
unsigned int betaXXXXXXXXX,
MyObject * gammaXXXXXXXX )
{
}
with BinPackArguments and BinPackParameters both false, and AlignConsecutiveAssignments and AlignConsecutiveDeclarations both set to true (documentation of these parameters). I had to extend the length of the variables to the function, because the original could fit all of them on one line.