[cfe-dev] Adding a new pragma to Clang

Philip Reames listmail at philipreames.com
Wed Jan 8 09:30:33 PST 2014


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.

Philip



More information about the cfe-dev mailing list