• 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'}}
27 S4(); // expected-note {{implicitly declared private here}}
30 #pragma omp simd private(a) private(this->a) in S4()
31 for (int k = 0; k < v; ++k) in S4() local
32 ++this->a; in S4()
37 S5():a(0) {} // expected-note {{implicitly declared private here}} in S5()
41 #pragma omp simd private(a) private(this->a) private(s.a) // expected-error {{expected variable nam… in operator =()
42 for (int k = 0; k < s.a; ++k) in operator =() local
55 #pragma omp simd private(a) private(this->a) in S6()
56 for (int k = 0; k < v; ++k) in S6() local
57 ++this->a; in S6()
60 #pragma omp simd private(a) private(this->a) private(s.a) // expected-error {{expected variable nam… in operator =()
61 for (int k = 0; k < s.a; ++k) in operator =() local
74 #pragma omp simd private(a) private(this->a) private(T::a) in S7()
75 for (int k = 0; k < a.a; ++k) in S7() local
76 ++this->a.a; in S7()
79 #pragma omp simd private(a) private(this->a) private(s.a) private(s.T::a) // expected-error 2 {{exp… in operator =()
80 for (int k = 0; k < s.a.a; ++k) in operator =() local
87 #pragma omp threadprivate(h) // expected-note 2 {{defined as threadprivate or thread local}}
94 #pragma omp simd private // expected-error {{expected '(' after 'private'}} in foomain()
95 for (int k = 0; k < argc; ++k) ++k; in foomain() local
96 …#pragma omp simd private ( // expected-error {{expected expression}} expected-error {{expected ')'… in foomain()
97 for (int k = 0; k < argc; ++k) ++k; in foomain() local
98 #pragma omp simd private () // expected-error {{expected expression}} in foomain()
99 for (int k = 0; k < argc; ++k) ++k; in foomain() local
100 …#pragma omp simd private (argc // expected-error {{expected ')'}} expected-note {{to match this '(… in foomain()
101 for (int k = 0; k < argc; ++k) ++k; in foomain() local
102 …agma omp simd private (argc, // expected-error {{expected expression}} expected-error {{expected '… in foomain()
103 for (int k = 0; k < argc; ++k) ++k; in foomain() local
104 …#pragma omp simd private (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name… in foomain()
105 for (int k = 0; k < argc; ++k) ++k; in foomain() local
107 for (int k = 0; k < argc; ++k) ++k; in foomain() local
108 #pragma omp simd private (S1) // expected-error {{'S1' does not refer to a value}} in foomain()
109 for (int k = 0; k < argc; ++k) ++k; in foomain() local
110 #pragma omp simd private (a, b) // expected-error {{private variable with incomplete type 'S1'}} in foomain()
111 for (int k = 0; k < argc; ++k) ++k; in foomain() local
112 #pragma omp simd private (argv[1]) // expected-error {{expected variable name}} in foomain()
113 for (int k = 0; k < argc; ++k) ++k; in foomain() local
115 for (int k = 0; k < argc; ++k) ++k; in foomain() local
116 …#pragma omp simd private(h) // expected-error {{threadprivate or thread local variable cannot be p… in foomain()
117 for (int k = 0; k < argc; ++k) ++k; in foomain() local
118 …#pragma omp simd shared(i) // expected-error {{unexpected OpenMP clause 'shared' in directive '#pr… in foomain()
119 for (int k = 0; k < argc; ++k) ++k; in foomain() local
125 for (int k = 0; k < argc; ++k) { i = k; v += i; } in foomain() local
130 for (int k = 0; k < argc; ++k) ++k; in foomain() local
132 for (int k = 0; k < argc; ++k) ++k; in foomain() local
138 #pragma omp threadprivate(x) // expected-note {{defined as threadprivate or thread local}}
151 #pragma omp simd private // expected-error {{expected '(' after 'private'}} in main()
152 for (int k = 0; k < argc; ++k) ++k; in main() local
153 …#pragma omp simd private ( // expected-error {{expected expression}} expected-error {{expected ')'… in main()
154 for (int k = 0; k < argc; ++k) ++k; in main() local
155 #pragma omp simd private () // expected-error {{expected expression}} in main()
156 for (int k = 0; k < argc; ++k) ++k; in main() local
157 …#pragma omp simd private (argc // expected-error {{expected ')'}} expected-note {{to match this '(… in main()
158 for (int k = 0; k < argc; ++k) ++k; in main() local
159 …agma omp simd private (argc, // expected-error {{expected expression}} expected-error {{expected '… in main()
160 for (int k = 0; k < argc; ++k) ++k; in main() local
161 …#pragma omp simd private (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name… in main()
162 for (int k = 0; k < argc; ++k) ++k; in main() local
164 for (int k = 0; k < argc; ++k) ++k; in main() local
165 #pragma omp simd private (S1) // expected-error {{'S1' does not refer to a value}} in main()
166 for (int k = 0; k < argc; ++k) ++k; in main() local
167 #pragma omp simd private (a, b) // expected-error {{private variable with incomplete type 'S1'}} in main()
168 for (int k = 0; k < argc; ++k) ++k; in main() local
169 #pragma omp simd private (argv[1]) // expected-error {{expected variable name}} in main()
170 for (int k = 0; k < argc; ++k) ++k; in main() local
171 …#pragma omp simd private(e, g) // expected-error {{calling a private constructor of class 'S4'}} e… in main()
172 for (int k = 0; k < argc; ++k) ++k; in main() local
173 …#pragma omp simd private(h, B::x) // expected-error 2 {{threadprivate or thread local variable can… in main()
174 for (int k = 0; k < argc; ++k) ++k; in main() local
175 …#pragma omp simd shared(i) // expected-error {{unexpected OpenMP clause 'shared' in directive '#pr… in main()
176 for (int k = 0; k < argc; ++k) ++k; in main() local
181 for (int k = 0; k < argc; ++k) ++k; in main() local
186 for (int k = 0; k < argc; ++k) ++k; in main() local
188 for (int k = 0; k < argc; ++k) ++k; in main() local
190 …s6 = s6_0; // expected-note {{in instantiation of member function 'S6<float>::operator=' requested… in main()
191 …s7 = s7_0; // expected-note {{in instantiation of member function 'S7<S6<float> >::operator=' requ… in main()
192 …return foomain(argc, argv); // expected-note {{in instantiation of function template specializatio… in main()