From 0d08a7ffba519aa7f21b8ac1e2194bf348b34eea Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Thu, 16 Jul 2015 04:19:43 +0000 Subject: [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 --- clang/test/OpenMP/for_codegen.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'clang/test/OpenMP/for_codegen.cpp') 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 struct It { It() : p(0) {} - It(const It &) ; - It(It &) ; + It(const It &, int = 0) ; + template + It(U &, int = 0) ; It &operator=(const It &); It &operator=(It &); ~It() {} -- cgit v1.2.3