/external/clang/test/OpenMP/ |
H A D | target_device_messages.cpp | 6 bool foobool(int argc) { function
|
H A D | target_parallel_device_messages.cpp | 6 bool foobool(int argc) { function
|
H A D | cancel_if_messages.cpp | 6 bool foobool(int argc) { function 22 #pragma omp cancel parallel if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp cancel' cannot contain more than one 'if' clause}} 49 #pragma omp cancel parallel if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp cancel' cannot contain more than one 'if' clause}}
|
H A D | distribute_collapse_messages.cpp | 6 bool foobool(int argc) { function 35 #pragma omp distribute collapse (foobool(argc)), collapse (true), collapse (-5) 62 #pragma omp distribute collapse (foobool(1) > 0 ? 1 : 2) // expected-error {{expression is not an integral constant expression}} 67 #pragma omp distribute collapse (foobool(argc)), collapse (true), collapse (-5)
|
H A D | distribute_parallel_for_collapse_messages.cpp | 11 bool foobool(int argc) { function 55 // expected-note@+4 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 59 #pragma omp distribute parallel for collapse (foobool(argc)), collapse (true), collapse (-5) 112 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 116 #pragma omp distribute parallel for collapse (foobool(1) > 0 ? 1 : 2) 120 // expected-note@+6{{non-constexpr function 'foobool' cannot be used in a constant expression}} 126 #pragma omp distribute parallel for collapse (foobool(argc)), collapse (true), collapse (-5)
|
H A D | distribute_parallel_for_if_messages.cpp | 6 bool foobool(int argc) { function 41 #pragma omp distribute parallel for if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp distribute parallel for' cannot contain more than one 'if' clause}} 123 #pragma omp distribute parallel for if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp distribute parallel for' cannot contain more than one 'if' clause}}
|
H A D | distribute_parallel_for_num_threads_messages.cpp | 6 bool foobool(int argc) { function 41 #pragma omp distribute parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp distribute parallel for' cannot contain more than one 'num_threads' clause}} expected-error {{argument to 'num_threads' clause must be a strictly positive integer value}} 91 #pragma omp distribute parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp distribute parallel for' cannot contain more than one 'num_threads' clause}} expected-error {{argument to 'num_threads' clause must be a strictly positive integer value}}
|
H A D | distribute_parallel_for_schedule_messages.cpp | 6 bool foobool(int argc) { function 64 #pragma omp distribute parallel for schedule (static, foobool(argc)), schedule (dynamic, true), schedule (guided, -5) 125 #pragma omp distribute parallel for schedule (dynamic, foobool(1) > 0 ? 1 : 2) 131 #pragma omp distribute parallel for schedule (guided, foobool(argc)), schedule (static, true), schedule (dynamic, -5)
|
H A D | distribute_parallel_for_simd_collapse_messages.cpp | 11 bool foobool(int argc) { function 55 // expected-note@+4 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 59 #pragma omp distribute parallel for simd collapse (foobool(argc)), collapse (true), collapse (-5) 112 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 116 #pragma omp distribute parallel for simd collapse (foobool(1) > 0 ? 1 : 2) 120 // expected-note@+6{{non-constexpr function 'foobool' cannot be used in a constant expression}} 126 #pragma omp distribute parallel for simd collapse (foobool(argc)), collapse (true), collapse (-5)
|
H A D | distribute_parallel_for_simd_if_messages.cpp | 6 bool foobool(int argc) { function 41 #pragma omp distribute parallel for simd if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp distribute parallel for simd' cannot contain more than one 'if' clause}} 123 #pragma omp distribute parallel for simd if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp distribute parallel for simd' cannot contain more than one 'if' clause}}
|
H A D | distribute_parallel_for_simd_num_threads_messages.cpp | 6 bool foobool(int argc) { function 41 #pragma omp distribute parallel for simd num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp distribute parallel for simd' cannot contain more than one 'num_threads' clause}} expected-error {{argument to 'num_threads' clause must be a strictly positive integer value}} 91 #pragma omp distribute parallel for simd num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp distribute parallel for simd' cannot contain more than one 'num_threads' clause}} expected-error {{argument to 'num_threads' clause must be a strictly positive integer value}}
|
H A D | distribute_parallel_for_simd_safelen_messages.cpp | 11 bool foobool(int argc) { function 62 // expected-note@+4 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 66 #pragma omp distribute parallel for simd safelen (foobool(argc)), safelen (true), safelen (-5) // expected-error 2 {{directive '#pragma omp distribute parallel for simd' cannot contain more than one 'safelen' clause}} expected-error 2 {{argument to 'safelen' clause must be a strictly positive integer value}} expected-error 2 {{expression is not an integral constant expression}} 134 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 138 #pragma omp parallel for simd safelen (foobool(1) > 0 ? 1 : 2) // expected-error {{expression is not an integral constant expression}} 143 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 147 #pragma omp parallel for simd safelen (foobool(argc)), safelen (true), safelen (-5) // expected-error 2 {{argument to 'safelen' clause must be a strictly positive integer value}} expected-error 2 {{directive '#pragma omp parallel for simd' cannot contain more than one 'safelen' clause}} expected-error {{expression is not an integral constant expression}}
|
H A D | distribute_parallel_for_simd_schedule_messages.cpp | 6 bool foobool(int argc) { function 64 #pragma omp distribute parallel for simd schedule (static, foobool(argc)), schedule (dynamic, true), schedule (guided, -5) 125 #pragma omp distribute parallel for simd schedule (dynamic, foobool(1) > 0 ? 1 : 2) 131 #pragma omp distribute parallel for simd schedule (guided, foobool(argc)), schedule (static, true), schedule (dynamic, -5)
|
H A D | distribute_parallel_for_simd_simdlen_messages.cpp | 11 bool foobool(int argc) { function 66 // expected-note@+4 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 70 #pragma omp distribute parallel for simd simdlen (foobool(argc)), simdlen (true), simdlen (-5) // expected-error 2 {{directive '#pragma omp distribute parallel for simd' cannot contain more than one 'simdlen' clause}} expected-error 2 {{argument to 'simdlen' clause must be a strictly positive integer value}} expected-error 2 {{expression is not an integral constant expression}} 138 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 142 #pragma omp distribute parallel for simd simdlen (foobool(1) > 0 ? 1 : 2) // expected-error {{expression is not an integral constant expression}} 148 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 152 #pragma omp distribute parallel for simd simdlen (foobool(argc)), simdlen (true), simdlen (-5) // expected-error {{expression is not an integral constant expression}} expected-error 2 {{directive '#pragma omp distribute parallel for simd' cannot contain more than one 'simdlen' clause}} expected-error 2 {{argument to 'simdlen' clause must be a strictly positive integer value}}
|
H A D | distribute_simd_collapse_messages.cpp | 11 bool foobool(int argc) { function 55 // expected-note@+4 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 59 #pragma omp distribute simd collapse (foobool(argc)), collapse (true), collapse (-5) 112 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 116 #pragma omp distribute simd collapse (foobool(1) > 0 ? 1 : 2) 120 // expected-note@+6{{non-constexpr function 'foobool' cannot be used in a constant expression}} 126 #pragma omp distribute simd collapse (foobool(argc)), collapse (true), collapse (-5)
|
H A D | distribute_simd_safelen_messages.cpp | 11 bool foobool(int argc) { function 62 // expected-note@+4 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 66 #pragma omp distribute simd safelen (foobool(argc)), safelen (true), safelen (-5) // expected-error 2 {{directive '#pragma omp distribute simd' cannot contain more than one 'safelen' clause}} expected-error 2 {{argument to 'safelen' clause must be a strictly positive integer value}} expected-error 2 {{expression is not an integral constant expression}} 134 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 138 #pragma omp parallel for simd safelen (foobool(1) > 0 ? 1 : 2) // expected-error {{expression is not an integral constant expression}} 143 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 147 #pragma omp parallel for simd safelen (foobool(argc)), safelen (true), safelen (-5) // expected-error 2 {{argument to 'safelen' clause must be a strictly positive integer value}} expected-error 2 {{directive '#pragma omp parallel for simd' cannot contain more than one 'safelen' clause}} expected-error {{expression is not an integral constant expression}}
|
H A D | distribute_simd_simdlen_messages.cpp | 11 bool foobool(int argc) { function 62 // expected-note@+4 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 66 #pragma omp distribute simd safelen (foobool(argc)), safelen (true), safelen (-5) // expected-error 2 {{directive '#pragma omp distribute simd' cannot contain more than one 'safelen' clause}} expected-error 2 {{argument to 'safelen' clause must be a strictly positive integer value}} expected-error 2 {{expression is not an integral constant expression}} 134 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 138 #pragma omp parallel for simd safelen (foobool(1) > 0 ? 1 : 2) // expected-error {{expression is not an integral constant expression}} 143 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 147 #pragma omp parallel for simd safelen (foobool(argc)), safelen (true), safelen (-5) // expected-error 2 {{argument to 'safelen' clause must be a strictly positive integer value}} expected-error 2 {{directive '#pragma omp parallel for simd' cannot contain more than one 'safelen' clause}} expected-error {{expression is not an integral constant expression}}
|
H A D | for_collapse_messages.cpp | 11 bool foobool(int argc) { function 41 // expected-note@+2 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 43 #pragma omp for collapse (foobool(argc)), collapse (true), collapse (-5) 76 // expected-note@+2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 78 #pragma omp for collapse (foobool(1) > 0 ? 1 : 2) 82 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 86 #pragma omp for collapse (foobool(argc)), collapse (true), collapse (-5)
|
H A D | for_ordered_clause.cpp | 11 bool foobool(int argc) { function 48 // expected-note@+2 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 50 #pragma omp for ordered(foobool(argc)), ordered(true), ordered(-5) 101 // expected-note@+2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 103 #pragma omp for ordered(foobool(1) > 0 ? 1 : 2) 108 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 112 #pragma omp for ordered(foobool(argc)), ordered(true), ordered(-5)
|
H A D | for_schedule_messages.cpp | 6 bool foobool(int argc) { function 50 #pragma omp for schedule (static, foobool(argc)), schedule (dynamic, true), schedule (guided, -5) 101 #pragma omp for schedule (dynamic, foobool(1) > 0 ? 1 : 2) 105 #pragma omp for schedule (guided, foobool(argc)), schedule (static, true), schedule (dynamic, -5)
|
H A D | for_simd_collapse_messages.cpp | 11 bool foobool(int argc) { function 41 // expected-note@+2 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 43 #pragma omp for simd collapse (foobool(argc)), collapse (true), collapse (-5) 76 // expected-note@+2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 78 #pragma omp for simd collapse (foobool(1) > 0 ? 1 : 2) 82 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 86 #pragma omp for simd collapse (foobool(argc)), collapse (true), collapse (-5)
|
H A D | for_simd_safelen_messages.cpp | 11 bool foobool(int argc) { function 41 // expected-note@+2 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 43 #pragma omp for simd safelen (foobool(argc)), safelen (true), safelen (-5) 74 // expected-note@+2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 76 #pragma omp for simd safelen (foobool(1) > 0 ? 1 : 2) 80 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 84 #pragma omp for simd safelen (foobool(argc)), safelen (true), safelen (-5)
|
H A D | for_simd_schedule_messages.cpp | 6 bool foobool(int argc) { function 40 #pragma omp for simd schedule (static, foobool(argc)), schedule (dynamic, true), schedule (guided, -5) 73 #pragma omp for simd schedule (dynamic, foobool(1) > 0 ? 1 : 2) 77 #pragma omp for simd schedule (guided, foobool(argc)), schedule (static, true), schedule (dynamic, -5)
|
H A D | for_simd_simdlen_messages.cpp | 11 bool foobool(int argc) { function 41 // expected-note@+2 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 43 #pragma omp for simd simdlen (foobool(argc)), simdlen (true), simdlen (-5) 74 // expected-note@+2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 76 #pragma omp for simd simdlen (foobool(1) > 0 ? 1 : 2) 80 // expected-note@+4 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 84 #pragma omp for simd simdlen (foobool(argc)), simdlen (true), simdlen (-5)
|
H A D | parallel_for_collapse_messages.cpp | 11 bool foobool(int argc) { function 41 // expected-note@+2 2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 43 #pragma omp parallel for collapse (foobool(argc)), collapse (true), collapse (-5) 76 // expected-note@+2 {{non-constexpr function 'foobool' cannot be used in a constant expression}} 78 #pragma omp parallel for collapse (foobool(1) > 0 ? 1 : 2) 82 // expected-note@+4{{non-constexpr function 'foobool' cannot be used in a constant expression}} 86 #pragma omp parallel for collapse (foobool(argc)), collapse (true), collapse (-5)
|