Home | History | Annotate | Download | only in OpenMP

Lines Matching refs:argc

107 template<class I, class C> int foomain(I argc, C **argv) {
108 I e(argc);
109 I g(argc);
115 for (I k = 0; k < argc; ++k) ++k;
117 for (I k = 0; k < argc; ++k) ++k;
119 for (I k = 0; k < argc; ++k) ++k;
120 #pragma omp simd aligned (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
121 for (I k = 0; k < argc; ++k) ++k;
122 #pragma omp simd aligned (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
123 for (I k = 0; k < argc; ++k) ++k;
124 #pragma omp simd aligned (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
125 for (I k = 0; k < argc; ++k) ++k;
126 #pragma omp simd aligned (argc : 5) // expected-warning {{aligned clause will be ignored because the requested alignment is not a power of 2}}
127 for (I k = 0; k < argc; ++k) ++k;
129 for (I k = 0; k < argc; ++k) ++k;
131 for (I k = 0; k < argc; ++k) ++k;
133 for (I k = 0; k < argc; ++k) ++k;
136 for (I k = 0; k < argc; ++k) ++k;
139 for (I k = 0; k < argc; ++k) ++k;
145 for (I k = 0; k < argc; ++k) { i = k; v += 2; }
149 for (I k = 0; k < argc; ++k) ++k;
154 for (I k = 0; k < argc; ++k) { ++k; v += j; }
156 for (I k = 0; k < argc; ++k) ++k;
160 // expected-note@+1 2 {{'argc' defined here}}
161 int main(int argc, char **argv) {
172 for (int k = 0; k < argc; ++k) ++k;
174 for (int k = 0; k < argc; ++k) ++k;
176 for (int k = 0; k < argc; ++k) ++k;
178 for (int k = 0; k < argc; ++k) ++k;
180 #pragma omp simd aligned (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
181 for (int k = 0; k < argc; ++k) ++k;
182 #pragma omp simd aligned (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
183 for (int k = 0; k < argc; ++k) ++k;
185 #pragma omp simd aligned (argc)
186 for (int k = 0; k < argc; ++k) ++k;
188 for (int k = 0; k < argc; ++k) ++k;
192 for (int k = 0; k < argc; ++k) ++k;
194 for (int k = 0; k < argc; ++k) ++k;
197 for (int k = 0; k < argc; ++k) ++k;
198 int *pargc = &argc;