align_typedef_gap
Category: Code alignment options (not left column spaces/tabs)
Type: numeric [0 .. 16]
Default: 0
The minimum space between the type and the synonym of a typedef.
| raw CPP code | align_typedef_gap=0 align_typedef_span=0 |
align_typedef_gap=1 align_typedef_span=0 |
align_typedef_gap=2 align_typedef_span=0 |
align_typedef_gap=3 align_typedef_span=0 |
align_typedef_gap=4 align_typedef_span=0 |
|---|---|---|---|---|---|
| //1 typedef char t; typedef char*t; //2 typedef char t; typedef char* t; typedef char *t; //3 typedef char t; typedef char * t; typedef char* *t; | //1 typedef char t; typedef char*t; //2 typedef char t; typedef char* t; typedef char *t; //3 typedef char t; typedef char * t; typedef char* *t; | //1 typedef char t; typedef char*t; //2 typedef char t; typedef char* t; typedef char *t; //3 typedef char t; typedef char * t; typedef char* *t; | //1 typedef char t; typedef char*t; //2 typedef char t; typedef char* t; typedef char *t; //3 typedef char t; typedef char * t; typedef char* *t; | //1 typedef char t; typedef char*t; //2 typedef char t; typedef char* t; typedef char *t; //3 typedef char t; typedef char * t; typedef char* *t; | //1 typedef char t; typedef char*t; //2 typedef char t; typedef char* t; typedef char *t; //3 typedef char t; typedef char * t; typedef char* *t; |
BUG: where is the gap ? Is there a link with align_typedef_span ? BUG/Strange: When it works the * and & are included in the gap Edited by JEAYNE
Not the best code for this option? See how to improve the .uds file used to generate these examples.