On Tue, Apr 05, 2011 at 07:18:16PM +0000, Joseph S. Myers wrote: > On Tue, 5 Apr 2011, Nathan Froyd wrote: > > Certainly vec.h never uses spaces; I thought this was simply The Way > > Things Were. > > I also had the impression that for certain special macros such as VEC, > GTY, _, N_, G_ - macros that are not really substituting for functions, > for-loops, etc. - the norm was no space, whereas for function prototypes, > function calls and calls to macros that are being used syntactically and > semantically more or less like functions the norm is to have the space > (I'm not sure about the case of __attribute__ and macros generating > __attribute__). But I see VEC is in fact used more often with the space.
To be pedantic: grepping for 'VEC (' in gcc/ gives ~1750 hits. But a number of those are the X*VEC allocation functions and things like CLASSTYPE_METHOD_VEC; cutting those out ("fgrep 'VEC (' | egrep -v '[A-Z][A-Z_]+VEC ('") or similar gives a bit over 800 VEC instances that use spaces. grepping for 'VEC(' gives 1300+ hits. That's a lot of creeping laxity. :) -Nathan