Is it possible to use clang-format
to format struct members and function parameter names into columns?
For example:
struct
{
int alpha; //aligned to 'b' of "beta"
unsigned int beta;
MyObject *gamma; //aligned with 'g' not '*'
};
void foobar (int alpha, //aligned to 'b' of "beta"
unsigned int beta
MyObject *gamma) //aligned with 'g' not '*'
{
}
If it's not possible, could I extend clang-format somehow to achieve this?