summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/for_codegen.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-07-16 04:19:43 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-07-16 04:19:43 +0000
commit0d08a7ffba519aa7f21b8ac1e2194bf348b34eea (patch)
treedf3fd5e841153fc1c559c50b8d11a101fe0fa22b /clang/test/OpenMP/for_codegen.cpp
parent501a7819989f51b50f88fa9b06b16b8111883ec9 (diff)
downloadbcm5719-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_codegen.cpp')
-rw-r--r--clang/test/OpenMP/for_codegen.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/OpenMP/for_codegen.cpp b/clang/test/OpenMP/for_codegen.cpp
index 539fb7bf02b..7f7e9ba9d25 100644
--- a/clang/test/OpenMP/for_codegen.cpp
+++ b/clang/test/OpenMP/for_codegen.cpp
@@ -420,8 +420,9 @@ struct Bool {
template <typename T>
struct It {
It() : p(0) {}
- It(const It &) ;
- It(It &) ;
+ It(const It &, int = 0) ;
+ template <typename U>
+ It(U &, int = 0) ;
It &operator=(const It &);
It &operator=(It &);
~It() {}
OpenPOWER on IntegriCloud