This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Patch to remove warn_for_assignment


On Fri, 8 Oct 2004, Paolo Bonzini wrote:

> > +  ic_argpass,
> > +  ic_assign,
> > +  ic_init,
> > +  ic_return
> 
> So now enum constants should be lowercase?

I wasn't aware of a particular policy.  Certainly cp/cp-tree.h has plenty 
of both.  Nor I think is there a policy between "typedef enum foo { ... } 
foo;" / "enum foo { ... }" / "typedef enum { ... } foo" (and likewise for 
struct and union types).  Propose policies for all these things if you'd 
like (with some indication of how frequent the different styles are in 
GCC).

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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