Anastasia added a subscriber: Anastasia. ================ Comment at: llvm/tools/clang/lib/Sema/SemaExpr.cpp:8595 @@ -8594,3 +8594,3 @@ -/// \brief Return the resulting type when an OpenCL vector is shifted +/// \brief Return the resulting type when an vector is shifted /// by a scalar or vector shift amount. ---------------- an vector -> a vector
================ Comment at: llvm/tools/clang/lib/Sema/SemaExpr.cpp:8675 @@ -8678,3 +8674,3 @@ return InvalidOperands(Loc, LHS, RHS); - return checkOpenCLVectorShift(*this, LHS, RHS, Loc, IsCompAssign); + return checkVectorShift(*this, LHS, RHS, Loc, IsCompAssign); } ---------------- it seems like you don't need this statement as the next one is exactly the same! http://reviews.llvm.org/D21678 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits