sp_deref
Category: Spacing options Type: multiple (ignore add remove force) Default: remove
Add or remove space after the '*' (dereference) unary operator. This does not affect the spacing after a '*' that is part of a type. Default: remove
*p = 0; i = *p;
raw CPP code | sp_deref=ignore | sp_deref=add | sp_deref=remove | sp_deref=force | space sp_deref=force |
---|---|---|---|---|---|
*p=*n; * p=* n; * p=* n; // not affected char*p; int(f*)(char*p); | *p=*n; * p=* n; * p=* n; // not affected char*p; int(f*)(char*p); | * p=* n; * p=* n; * p=* n; // not affected char*p; int(f*)(char*p); | *p=*n; *p=*n; *p=*n; // not affected char*p; int(f*)(char*p); | * p=* n; * p=* n; * p=* n; // not affected char*p; int(f*)(char*p); | *p=*n; *p=*n; *p=*n; // not affected char*p; int(f*)(char*p); |
Take care, default is 'remove' Edited by JEAYNE
Not the best code for this option? See how to improve the .uds file used to generate these examples.