[cfe-dev] [RFC] A proposal for #pragma optnone

Philip Reames listmail at philipreames.com
Wed Apr 30 10:16:41 PDT 2014


On 04/30/2014 04:10 AM, Dario Domizioli wrote:
>
>
> On 30 April 2014 09:18, Renato Golin <renato.golin at linaro.org 
> <mailto:renato.golin at linaro.org>> wrote:
>
>     On 29 April 2014 23:49, Robinson, Paul
>     <Paul_Robinson at playstation.sony.com
>     <mailto:Paul_Robinson at playstation.sony.com>> wrote:
>     > Which cycles us back to the original proposal:
>     >
>     > #pragma clang optnone [on|off]
>     >
>     > ...which is obviously tied to the attribute of the same name, which
>     > seems like at least a small goodness.
>
>     Right, I think my list of arguments has ended. This seems as good
>     as any.
>
>
> Ok... so do we now have a consensus on the original spec?
>     #pragma clang optnone on
>     // code decorated with optnone
>     #pragma clang optnone off
>
> It looks like you're convinced. Anybody else opposing this?
I would still prefer the gcc spelling (exactly).  However, this is 
simply stylistic at this point.  I have no strong argument to make and 
will defer to the general agreement.

Philip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140430/85554f80/attachment.html>


More information about the cfe-dev mailing list