This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Coding convention: use of `!x' vs. `! x'
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: Coding convention: use of `!x' vs. `! x'
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: 24 Sep 2000 22:56:41 -0700
- CC: gcc at gcc dot gnu dot org
- References: <20000922002943C.mitchell@codesourcery.com>
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>