Home | History | Annotate | Download | only in OpenMP

Lines Matching refs:argc

6 bool foobool(int argc) {
7 return argc;
13 T tmain(T argc) {
31 #pragma omp teams thread_limit(argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
34 #pragma omp teams thread_limit(argc)) // expected-warning {{extra tokens at the end of '#pragma omp teams' are ignored}}
37 #pragma omp teams thread_limit(argc > 0 ? a[1] : a[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
40 #pragma omp teams thread_limit(argc + argc)
43 #pragma omp teams thread_limit(argc), thread_limit (argc+1) // expected-error {{directive '#pragma omp teams' cannot contain more than one 'thread_limit' clause}}
61 int main(int argc, char **argv) {
75 #pragma omp teams thread_limit (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
79 #pragma omp teams thread_limit (argc)) // expected-warning {{extra tokens at the end of '#pragma omp teams' are ignored}}
83 #pragma omp teams thread_limit (argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
87 #pragma omp teams thread_limit (argc + argc)
91 #pragma omp teams thread_limit (argc), thread_limit (argc+1) // expected-error {{directive '#pragma omp teams' cannot contain more than one 'thread_limit' clause}}
110 return tmain<int, 10>(argc); // expected-note {{in instantiation of function template specialization 'tmain<int, 10>' requested here}}