]> granicus.if.org Git - clang/commit
Don't perform integer promotions on the operand to a cast; this
authorEli Friedman <eli.friedman@gmail.com>
Sat, 15 Aug 2009 19:02:19 +0000 (19:02 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sat, 15 Aug 2009 19:02:19 +0000 (19:02 +0000)
commit199ea95fd5ef9a089dbf7b2ade018d4444a65177
tree317eaa9d9c266e7e03f8c9d40a384507e4bddee1
parent1d9b5efffaec2349f33510dee2cf2e90c3d2d6aa
Don't perform integer promotions on the operand to a cast; this
simplifies the AST, and can matter in some rare cases involving
casts to vector types. Patch by Enea Zaffanella.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79126 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/Sema/vector-cast.c