Hi,

As requested here is the patch to support non-type template parameters in 
#pragma loop. The patch uses LookupName to build a DeclRefExpr to the template 
parameter and overloads TransformAttr in the template instantiator to transform 
the value expression and replace the LoopHintAttr. It is built on the 
PragmaAttr and Pragma Spelling patch listed in the 'Add PragmaAttr and Pragma 
Spelling to Tablegen’ thread. Since it is a git patch please use ‘patch -p1’ to 
apply it.

Attachment: pragma_nontypetemplate.patch
Description: Binary data


Thanks,

Tyler
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to