]> granicus.if.org Git - clang/commit
[Sema] Gcc compatibility of vector shift
authorAndrey Bokhanko <andreybokhanko@gmail.com>
Wed, 19 Oct 2016 12:06:10 +0000 (12:06 +0000)
committerAndrey Bokhanko <andreybokhanko@gmail.com>
Wed, 19 Oct 2016 12:06:10 +0000 (12:06 +0000)
commit7353e91c26d130540e2632d07c9e2b99c75c3af7
tree1ce06c40e971962e30cace8924639d3e0f47d58a
parented67a74e02f41a37f98bf40dcc1d79d26b21ad5e
[Sema] Gcc compatibility of vector shift

Gcc prints error if elements of left and right parts of a shift have different
sizes. This patch is provided the GCC compatibility.

Patch by Vladimir Yakovlev.

Differential Revision: https://reviews.llvm.org/D24669

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284579 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/CodeGen/vecshift.c
test/Sema/vecshift.c