commit | 8d438087bd7120990663e4df78a9c9fdb02c5209 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sat Jul 17 20:43:49 2010 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sat Jul 17 20:43:49 2010 +0000 |
tree | 1339b94788c9fee28e3e55606909a80d64f8bfb4 | |
parent | ac0021ba802e193e0f9f8207768c7862c7603bc0 [diff] |
Check for casts to an incomplete type in C. Improves diagnostics for cast to incomplete union (PR5692) and incomplete enum, and fixes obscure accepts-invalid on cast to incomplete struct. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108630 91177308-0d34-0410-b5e6-96231b3b80d8