diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2015-07-16 04:19:43 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-07-16 04:19:43 +0000 |
| commit | 0d08a7ffba519aa7f21b8ac1e2194bf348b34eea (patch) | |
| tree | df3fd5e841153fc1c559c50b8d11a101fe0fa22b /clang/test/OpenMP/simd_loop_messages.cpp | |
| parent | 501a7819989f51b50f88fa9b06b16b8111883ec9 (diff) | |
| download | bcm5719-llvm-0d08a7ffba519aa7f21b8ac1e2194bf348b34eea.tar.gz bcm5719-llvm-0d08a7ffba519aa7f21b8ac1e2194bf348b34eea.zip | |
[OPENMP] Fixed detection of canonical loops with random access iterators.
Add handling of iterators with copy/move constructors with default arguments + converting template constructors.
llvm-svn: 242382
Diffstat (limited to 'clang/test/OpenMP/simd_loop_messages.cpp')
| -rw-r--r-- | clang/test/OpenMP/simd_loop_messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/simd_loop_messages.cpp b/clang/test/OpenMP/simd_loop_messages.cpp index fe8e70a9b8a..bd7dd5bf52d 100644 --- a/clang/test/OpenMP/simd_loop_messages.cpp +++ b/clang/test/OpenMP/simd_loop_messages.cpp @@ -456,7 +456,7 @@ int test_with_random_access_iterator() { ++I; // Initializer is constructor with all default params. - // expected-error@+4 {{invalid operands to binary expression ('Iter1' and 'Iter1')}} + // expected-error@+4 {{invalid operands to binary expression ('Iter1' and 'float')}} // expected-error@+3 {{could not calculate number of iterations calling 'operator-' with upper and lower loop bounds}} // expected-warning@+2 {{initialization clause of OpenMP for loop is not in canonical form ('var = init' or 'T var = init')}} #pragma omp simd |

