Don't allow reinterpret_cast to reference of vector element and property expression...
commitbb29d1ba8b0895e3923c724f49845636f35b4bde
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 22 Apr 2011 23:57:57 +0000 (22 23:57 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 22 Apr 2011 23:57:57 +0000 (22 23:57 +0000)
tree1b850576b020e7f55ef2595cb5c3e234dce560a8
parent13c8ccb59b38e9e7133f1c80a00f210b6514a0b1
Don't allow reinterpret_cast to reference of vector element and property expression. Thanks goes to Eli Friedman!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130036 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaCXXCast.cpp
test/SemaCXX/reinterpret-cast.cpp