Coding convention: use of `!x' vs. `! x'
Geoff Keating
geoffk@cygnus.com
Sun Sep 24 22:57:00 GMT 2000
Mark Mitchell <mark@codesourcery.com> writes:
> I have contacted the people responsible for the GNU Coding Standards,
> and they have indicated that there is no official GNU practice, and
> that the issue is sufficiently minor that they do not think an
> offical GNU standard is required.
>
> However, I suggest that within GCC we use a consistent style going
> forward, and that the style be `!x' rather than `! x'. This is no big
> deal, and it would be a waste of effort to change all uses of the
> latter into the former, but going forward let's use the former style.
Would this apply to casts, also?
eg. `((const foo *)a) + 1' vs. `((const foo *) a) + 1)'
`(const foo *)a + 1' vs. `(const foo *) a + 1)'
--
- Geoffrey Keating <geoffk@cygnus.com>
More information about the Gcc
mailing list