[cfe-dev] RFC: Incompatible, but similar pragma handling
"C. Bergström"
cbergstrom at pathscale.com
Sun Jun 22 06:50:25 PDT 2014
I can give more precise details if necessary, but it's more a general
question to start.
Any recommendations on how to best handle two similar, but incompatible
sets of pragma?
Example
clang -foo
#pragma bar baz - OK
#pragma bar baz blah - Not ok
#pragma foobar - OK
clang -foov2 (not backwards compatible)
#pragma bar baz - Not ok
#pragma bar baz blah - OK
#pragma foobar - OK
--------
Basically with the extended version the sema is going to get messed with
quite a bit. Maybe this is implementation specific. When I look at what
we've coded internally, which is along the similar lines as the Intel
OMP work - I don't think this will be easy.
comments/advice?
Thanks
More information about the cfe-dev
mailing list