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/for_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/for_loop_messages.cpp')
-rw-r--r-- | clang/test/OpenMP/for_loop_messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/for_loop_messages.cpp b/clang/test/OpenMP/for_loop_messages.cpp index f425defdf3e..ba27934b11d 100644 --- a/clang/test/OpenMP/for_loop_messages.cpp +++ b/clang/test/OpenMP/for_loop_messages.cpp @@ -562,7 +562,7 @@ int test_with_random_access_iterator() { for (Iter1 I = begin1; I >= end1; ++I) ++I; #pragma omp parallel -// expected-error@+5 {{invalid operands to binary expression ('Iter1' and 'Iter1')}} +// expected-error@+5 {{invalid operands to binary expression ('Iter1' and 'float')}} // expected-error@+4 {{could not calculate number of iterations calling 'operator-' with upper and lower loop bounds}} // Initializer is constructor with all default params. // expected-warning@+2 {{initialization clause of OpenMP for loop is not in canonical form ('var = init' or 'T var = init')}} |