On Wed, May 28, 2014 at 6:09 AM, Alexander Musman < [email protected]> wrote:
> Richard, > > Yes, I think that assuming that the variable is random access iterator > would work. It will still need to generate std::difference on them, I don't think even that's necessary: the random access iterator requirements let you use `it2 - it2`. (And that's just as well; it'd be weird for a language feature to require `std::difference` to be available -- not that there aren't other language features like that, but still...) but we can check that later, during building expressions for iteration > space (that will be used for CodeGen). This also has an advantage that user > may use his iterators without deriving from std classes. > I've removed corresponding checks and fixed processing `break` statements. > > Thanks, > Alexander > > http://reviews.llvm.org/D3778 > > Files: > include/clang/Basic/DiagnosticSemaKinds.td > include/clang/Sema/Scope.h > include/clang/Sema/Sema.h > lib/Parse/ParseOpenMP.cpp > lib/Sema/Scope.cpp > lib/Sema/SemaOpenMP.cpp > lib/Sema/SemaStmt.cpp > test/OpenMP/simd_loop_messages.cpp > test/OpenMP/simd_misc_messages.c >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
