From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Mitchell To: geoffk@cygnus.com Cc: gcc@gcc.gnu.org Subject: Re: Coding convention: use of `!x' vs. `! x' Date: Sun, 24 Sep 2000 23:43:00 -0000 Message-id: <20000924234345I.mitchell@codesourcery.com> References: <20000922002943C.mitchell@codesourcery.com> X-SW-Source: 2000-09/msg00586.html 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)' Good question. I just grepped for `xmalloc' in the GCC sources as that is a good source of casts, and although both forms are used, the `(X) Y' form is considerably more prevalent, so I think we should use that form. Thanks, -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com