commit | 3bad5b10cc05fe000340fc6e4efc4d8b9af0a62c | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Oct 27 22:11:44 2011 +0000 |
committer | Stephen Hines <srhines@google.com> | Fri Nov 11 11:43:46 2011 -0800 |
tree | dd7d947324d883add4bd6b32631cb3a0c39c8478 | |
parent | b2deb1f3a1ac4733f5ff8e95df879930413ae4e2 [diff] |
Fix some cases where a CK_IntegralCast was being used to convert an lvalue to an rvalue. An assertion to catch this is in ImpCastExprToType will follow, but vector operations currently trip over this (due to omitting the usual arithmetic conversions). Also add an assert to catch missing lvalue-to-rvalue conversions on the LHS of ->. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143155 91177308-0d34-0410-b5e6-96231b3b80d8