]> granicus.if.org Git - clang/commit
Assert that the type of the cast is equal to the _unqualified_ type of the subexpress...
authorAnders Carlsson <andersca@mac.com>
Fri, 18 Jan 2008 02:25:57 +0000 (02:25 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 18 Jan 2008 02:25:57 +0000 (02:25 +0000)
commita46b759d55ca607ef9bb09dd3a089418bb6ee44c
tree7e72fbd78da47933f2891bd6a266d83ba23e756f
parentb4b2f0c9e80c6613c3e9846da121632ea39bcd5d
Assert that the type of the cast is equal to the _unqualified_ type of the subexpression. Fixes a problem spotted by Nuno Lopes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46158 91177308-0d34-0410-b5e6-96231b3b80d8
CodeGen/CGExprAgg.cpp
test/CodeGen/struct.c