This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Coding convention: use of `!x' vs. `! x'


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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]