--align-reference=type option add a space after the reference symbol.
struct Hoge {
int* i;
int* j;
int* k;
};
int i, j, k = 0;
Hoge hoge {
&i,
&j,
&k
};
becomes
Hoge hoge {
&i,
- &j,
- &k
+ & j,
+ & k
};
I ran astye as follows:
$ astyle --version
Artistic Style Version 3.4
$ astyle --options=none --align-reference=type test.cpp
Hi, you might test a fix in git (https://gitlab.com/saalen/astyle/) until a new version is released.
Fixed in version 3.4.6
Thank you for the fix.
It is working fine for me.