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. llvm-svn: 41402
Loading
Please register or sign in to comment