Lines Matching full:pragma
46 #pragma omp threadprivate(threadvar) // expected-note {{defined as threadprivate or thread local}}
49 #pragma omp task private(b)
55 #pragma omp threadprivate(x) // expected-note {{defined as threadprivate or thread local}}
68 #pragma omp task private // expected-error {{expected '(' after 'private'}}
69 #pragma omp task private( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
70 #pragma omp task private() // expected-error {{expected expression}}
71 #pragma omp task private(argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
72 #pragma omp task private(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
73 #pragma omp task private(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
74 #pragma omp task private(argc argv) // expected-error {{expected ',' or ')' in 'private' clause}}
75 #pragma omp task private(S1) // expected-error {{'S1' does not refer to a value}}
76 #pragma omp task private(a, b, c, d, f) // expected-error {{a private variable with incomplete type 'S1'}} expected-error 3 {{shared variable cannot be private}}
77 #pragma omp task private(argv[1]) // expected-error {{expected variable name}}
78 #pragma omp task private(ba)
79 #pragma omp task private(ca) // expected-error {{shared variable cannot be private}}
80 #pragma omp task private(da) // expected-error {{shared variable cannot be private}}
81 #pragma omp task private(S2::S2s) // expected-error {{shared variable cannot be private}}
82 #pragma omp task private(e, g) // expected-error {{calling a private constructor of class 'S4'}} expected-error {{calling a private constructor of class 'S5'}}
83 #pragma omp task private(threadvar, B::x) // expected-error 2 {{threadprivate or thread local variable cannot be private}}
84 #pragma omp task shared(i), private(i) // expected-error {{shared variable cannot be private}} expected-note {{defined as shared}}
86 #pragma omp task firstprivate(i) private(i) // expected-error {{firstprivate variable cannot be private}} expected-note {{defined as firstprivate}}
88 #pragma omp task private(i)
89 #pragma omp task private(j)
91 #pragma omp task firstprivate(i)
93 #pragma omp task private(i)
97 #pragma omp task private(m) // OK