Apologies for the delayed response. This issue does not yet seem to be fixed, or at least it does not behave as I expected. The behavior is definitely different now, as follows - with the same .astylerc as before, now running v3.6.0: This: // this is the format that I expect based on my .astylerc int* ptr; *ptr = 10; int x; int* ptr2 = &x; foo(&x, *ptr); is formatted to this: int* ptr; * ptr = 10; // a space was added after * int x; int* ptr2 = &x; foo(&x, *ptr); which is strange. More interestingly,...
Apologies for the delayed response. This issue does not yet seem to be fixed, or at least it does not behave as I expected. The behavior is definitely different now, as follows - with the same .astylerc as before, now running v3.6.0: This: // this is the format that I expect based on my .astylerc int* ptr; *ptr = 10; int x; int* ptr2 = &x; foo(&x, *ptr); is formatted to this: int* ptr; * ptr = 10; // a space was added after * int x; int* ptr2 = &x; foo(&x, *ptr); which is strange. More interestingly,...
Apologies for the delayed response. This issue does not yet seem to be fixed, or at least it does not behave as I expected. The behavior is definitely different now, as follows - with the same .astylerc as before, now running v3.6.0: This: // this is the format that I expect based on my .astylerc int* ptr; *ptr = 10; int x; int* ptr2 = &x; foo(&x, *ptr); is formatted to this: int* ptr; * ptr = 10; // a space was added after * int x; int* ptr2 = &x; foo(&x, *ptr); which is strange. More interestingly,...
Note: just tested without --pad-oper and the behavior described does not occur. Using the same settings except --pad-oper, the first codeblock remains unchanged. Let me know if you need any more info.
Pointer dereferences and addresses are formatted as operators