commit | ad7ef480b93a0d5dd23ec2202662b99465fcfa7e | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Sat Aug 25 14:37:06 2007 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Sat Aug 25 14:37:06 2007 +0000 |
tree | a69db8300c03fef6df3ef699f5b265331c829219 | |
parent | 210679cacc47640107e46090de1a138977a0431e [diff] |
Change Expr::isLvalue() to properly deal with ImplicitCastExpr's. This fixes the following bug... t.c:1:31: error: expression is not assignable short x; void foo(char c) { x += c; } This case, among others are now captured in implicit-casts.c. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41402 91177308-0d34-0410-b5e6-96231b3b80d8