• Home
  • Raw
  • Download

Lines Matching +full:- +full:k

1 // RUN: %clang_cc1 -verify -fopenmp %s
10 struct S1; // expected-note 2 {{declared here}} expected-note 2 {{forward declaration of 'S1'}}
29 S4(); // expected-note {{implicitly declared private here}}
33 #pragma omp taskloop private(a) private(this->a) in S4()
34 for (int k = 0; k < v; ++k) in S4() local
35 ++this->a; in S4()
40 S5() : a(0) {} // expected-note {{implicitly declared private here}} in S5()
45 #pragma omp taskloop private(a) private(this->a) private(s.a) // expected-error {{expected variable… in operator =()
46 for (int k = 0; k < s.a; ++k) in operator =() local
59 #pragma omp taskloop private(a) private(this->a) in S6()
60 for (int k = 0; k < v; ++k) in S6() local
61 ++this->a; in S6()
64 #pragma omp taskloop private(a) private(this->a) private(s.a) // expected-error {{expected variable… in operator =()
65 for (int k = 0; k < s.a; ++k) in operator =() local
78 #pragma omp taskloop private(a) private(this->a) private(T::a) in S7()
79 for (int k = 0; k < a.a; ++k) in S7() local
80 ++this->a.a; in S7()
83 #pragma omp taskloop private(a) private(this->a) private(s.a) private(s.T::a) // expected-error 2 {… in operator =()
84 for (int k = 0; k < s.a.a; ++k) in operator =() local
91 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}}
99 #pragma omp taskloop private // expected-error {{expected '(' after 'private'}} in foomain()
100 for (int k = 0; k < argc; ++k) in foomain() local
101 ++k; in foomain()
102 …pragma omp taskloop private( // expected-error {{expected expression}} expected-error {{expected '… in foomain()
103 for (int k = 0; k < argc; ++k) in foomain() local
104 ++k; in foomain()
105 #pragma omp taskloop private() // expected-error {{expected expression}} in foomain()
106 for (int k = 0; k < argc; ++k) in foomain() local
107 ++k; in foomain()
108 #pragma omp taskloop private(argc // expected-error {{expected ')'}} expected-note {{to match this … in foomain()
109 for (int k = 0; k < argc; ++k) in foomain() local
110 ++k; in foomain()
111 …a omp taskloop private(argc, // expected-error {{expected expression}} expected-error {{expected '… in foomain()
112 for (int k = 0; k < argc; ++k) in foomain() local
113 ++k; in foomain()
114 #pragma omp taskloop private(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable na… in foomain()
115 for (int k = 0; k < argc; ++k) in foomain() local
116 ++k; in foomain()
118 for (int k = 0; k < argc; ++k) in foomain() local
119 ++k; in foomain()
120 #pragma omp taskloop private(S1) // expected-error {{'S1' does not refer to a value}} in foomain()
121 for (int k = 0; k < argc; ++k) in foomain() local
122 ++k; in foomain()
123 #pragma omp taskloop private(a, b) // expected-error {{private variable with incomplete type 'S1'}} in foomain()
124 for (int k = 0; k < argc; ++k) in foomain() local
125 ++k; in foomain()
126 #pragma omp taskloop private(argv[1]) // expected-error {{expected variable name}} in foomain()
127 for (int k = 0; k < argc; ++k) in foomain() local
128 ++k; in foomain()
130 for (int k = 0; k < argc; ++k) in foomain() local
131 ++k; in foomain()
132 #pragma omp taskloop private(h) // expected-error {{threadprivate or thread local variable cannot b… in foomain()
133 for (int k = 0; k < argc; ++k) in foomain() local
134 ++k; in foomain()
136 for (int k = 0; k < argc; ++k) in foomain() local
137 ++k; in foomain()
143 for (int k = 0; k < argc; ++k) { in foomain() local
144 i = k; in foomain()
151 for (int k = 0; k < argc; ++k) in foomain() local
152 ++k; in foomain()
154 for (int k = 0; k < argc; ++k) in foomain() local
155 ++k; in foomain()
168 #pragma omp threadprivate(x) // expected-note {{defined as threadprivate or thread local}}
181 #pragma omp taskloop private // expected-error {{expected '(' after 'private'}} in main()
182 for (int k = 0; k < argc; ++k) in main() local
183 ++k; in main()
184 …pragma omp taskloop private( // expected-error {{expected expression}} expected-error {{expected '… in main()
185 for (int k = 0; k < argc; ++k) in main() local
186 ++k; in main()
187 #pragma omp taskloop private() // expected-error {{expected expression}} in main()
188 for (int k = 0; k < argc; ++k) in main() local
189 ++k; in main()
190 #pragma omp taskloop private(argc // expected-error {{expected ')'}} expected-note {{to match this … in main()
191 for (int k = 0; k < argc; ++k) in main() local
192 ++k; in main()
193 …a omp taskloop private(argc, // expected-error {{expected expression}} expected-error {{expected '… in main()
194 for (int k = 0; k < argc; ++k) in main() local
195 ++k; in main()
196 #pragma omp taskloop private(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable na… in main()
197 for (int k = 0; k < argc; ++k) in main() local
198 ++k; in main()
200 for (int k = 0; k < argc; ++k) in main() local
201 ++k; in main()
202 #pragma omp taskloop private(S1) // expected-error {{'S1' does not refer to a value}} in main()
203 for (int k = 0; k < argc; ++k) in main() local
204 ++k; in main()
205 #pragma omp taskloop private(a, b) // expected-error {{private variable with incomplete type 'S1'}} in main()
206 for (int k = 0; k < argc; ++k) in main() local
207 ++k; in main()
208 #pragma omp taskloop private(argv[1]) // expected-error {{expected variable name}} in main()
209 for (int k = 0; k < argc; ++k) in main() local
210 ++k; in main()
211 …ragma omp taskloop private(e, g) // expected-error {{calling a private constructor of class 'S4'}}… in main()
212 for (int k = 0; k < argc; ++k) in main() local
213 ++k; in main()
214 #pragma omp taskloop private(h) // expected-error {{threadprivate or thread local variable cannot b… in main()
215 for (int k = 0; k < argc; ++k) in main() local
216 ++k; in main()
217 #pragma omp taskloop private(B::x) // expected-error {{threadprivate or thread local variable canno… in main()
218 for (int k = 0; k < argc; ++k) in main() local
219 ++k; in main()
221 for (int k = 0; k < argc; ++k) in main() local
222 ++k; in main()
227 for (int k = 0; k < argc; ++k) in main() local
228 ++k; in main()
233 for (int k = 0; k < argc; ++k) in main() local
234 ++k; in main()
236 for (int k = 0; k < argc; ++k) in main() local
237 ++k; in main()
240 for(int k = 0; k < argc; ++k) in main() local
241 si = k + 1; in main()
243 …s6 = s6_0; // expected-note {{in instantiation of member function 'S6<float>::operator=' requested… in main()
244 …s7 = s7_0; // expected-note {{in instantiation of member function 'S7<S6<float> >::operator=' requ… in main()
245 …return foomain(argc, argv); // expected-note {{in instantiation of function template specializatio… in main()