Lines Matching full:openmp
3 // This file tests the custom parsing logic for the OpenMP 5.1 attribute
4 // syntax. It does not test actual OpenMP directive syntax, just the attribute
17 [[omp::directive()]]; // expected-error {{expected an OpenMP directive}}
18 [[omp::sequence()]]; // expected-error {{expected an OpenMP 'directive' or 'sequence' attribute arg…
30 …, sequence())]]; // expected-error {{expected an OpenMP directive}} expected-error {{expected an O…
31 …, sequence())]]; // expected-error {{expected an OpenMP directive}} expected-error {{expected an O…
32 …::sequence())]]; // expected-error {{expected an OpenMP directive}} expected-error {{expected an O…
33 …::sequence())]]; // expected-error {{expected an OpenMP directive}} expected-error {{expected an O…
39 )]]; // expected-error {{expected ')'}} expected-error {{expected an OpenMP directive}}
42 )]]; // expected-error {{expected ')'}} expected-error {{expected an OpenMP 'directive' or 'sequenc…
45 [[using omp: directive()]]; // expected-error {{expected an OpenMP directive}}
46 [[using omp: sequence()]]; // expected-error {{expected an OpenMP 'directive' or 'sequence' attribu…
47 [[using omp: sequence(omp::directive())]]; // expected-error {{expected an OpenMP directive}}
48 [[using omp: sequence(directive())]]; // expected-error {{expected an OpenMP directive}}
57 [[omp::sequence(unknown)]]; // expected-error {{expected an OpenMP 'directive' or 'sequence' attrib…
58 [[omp::sequence(sequence(unknown))]]; // expected-error {{expected an OpenMP 'directive' or 'sequen…
59 [[omp::sequence(omp::unknown)]]; // expected-error {{expected an OpenMP 'directive' or 'sequence' a…
60 [[omp::sequence(sequence(omp::unknown))]]; // expected-error {{expected an OpenMP 'directive' or 's…
62 // FIXME: combining non-openmp attributes with openmp attributes has surprising
63 // results due to the replay of tokens. We properly parse the non-openmp
64 // attributes, but we also replay the OpenMP tokens. The attributes then get
65 // passed to the OpenMP parsing functions and it does not attach the attribute
68 // of OpenMP attributes and what they appertain to, this should not be a