Re: [WIP RFH] #pragma omp declare simd (aka OpenMP elemental functions) parsing

2013-04-30 Thread Jason Merrill
On 04/29/2013 02:32 PM, Jakub Jelinek wrote: Should I copy the parser->omp_declare_simd_clauses vector pointer say into cp_declarator structure so that grokfndecl could grab it from there? That sounds good. Also, for the attributes I wonder if it wouldn't be better to finally replace the PARM

[WIP RFH] #pragma omp declare simd (aka OpenMP elemental functions) parsing

2013-04-29 Thread Jakub Jelinek
Hi! The following patch are some WIP steps towards #pragma omp declare simd parsing. The spec is a little bit vague, talks just that (a sequence of) #pragma omp declare simd pragmas have to immediately precede a function declaration or definition and that the arguments referred in its clauses are