commit | 4f87062cb411d5a31cf39f1ac576bba4123930f2 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Oct 27 22:11:44 2011 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Oct 27 22:11:44 2011 +0000 |
tree | 8f9051b28660777de6b6498b30c659a86356651f | |
parent | 2ce634dbb24c8325da0dd36479c3a68622660d72 [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