[cfe-dev] Adding a new pragma to Clang

Robinson, Paul Paul_Robinson at playstation.sony.com
Mon Jan 13 10:42:52 PST 2014


> -----Original Message-----
> From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu]
> On Behalf Of Hal Finkel
> Sent: Wednesday, January 08, 2014 10:09 AM
> To: Philip Reames
> Cc: cfe-dev at cs.uiuc.edu
> Subject: Re: [cfe-dev] Adding a new pragma to Clang
> 
> ----- Original Message -----
> > From: "Philip Reames" <listmail at philipreames.com>
> > To: cfe-dev at cs.uiuc.edu
> > Sent: Wednesday, January 8, 2014 11:30:33 AM
> > Subject: Re: [cfe-dev] Adding a new pragma to Clang
> >
> > On 1/8/14 9:16 AM, Renato Golin wrote:
> > > This is interesting. We can add the attributes in "beta" stage, and
> > > change to closer to whatever OMP comes up, just to make things
> > > easier
> > > to users. Since this attribute is going to be only used by a
> > > handful
> > > of people for now, mostly us and tests, I think it should be ok.
> > Since it sounds like the initial use is for internal testing and
> > "bleeding edge" users, I'd suggest naming these in ways which clearly
> > denote their experimental (and likely to change) status. (e.g.
> > "__clang_experimental_unroll" rather than "unroll".)  Once we're
> > happy
> > with the usage model, we can come back to the bikeshed discussion
> > about
> > naming.
> 
> +1
> 
>  -Hal
> 

$.02 from the peanut gallery:
Sounds okay for now.  In the long run we'd prefer to line up with
some existing syntax, and our users would probably prefer Microsoft.
Supporting pragmas that internally map to attributes seems like it
shouldn't be a terrible problem.
--paulr

> >
> > Philip
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> >
> 
> --
> Hal Finkel
> Assistant Computational Scientist
> Leadership Computing Facility
> Argonne National Laboratory
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev






More information about the cfe-dev mailing list