align_typedef_amp_style
Category: Code alignment options (not left column spaces/tabs) Type: numeric [0 .. 2] Default: 0
How to consider (or treat) the '&' in the alignment of typedefs. 0: Part of the typedef type, 'typedef int & intref;' (default) 1: Part of type name: 'typedef int &intref;' 2: Dangling: 'typedef int &intref;' Dangling: the '&' will not be taken into account when aligning.
raw CPP code | align_typedef_amp_style=0 | align_typedef_amp_style=1 | align_typedef_amp_style=2 |
---|---|---|---|
typedef int&ri; typedef int*pi; | typedef int&ri; typedef int*pi; | typedef int&ri; typedef int*pi; | typedef int&ri; typedef int*pi; |
Not the best code for this option? See how to improve the .uds file used to generate these examples.