Fix subtle bug introduced in r54852.
 - UsualUnaryConversions takes an Expr *& and may modify its argument,
   this broke when it was refactored into Sema::CheckCastTypes. This
   meant that we were missing implicit casts in some places.
 - Seems pretty sad that this got through our tests.

llvm-svn: 55039
3 files changed
tree: 0b3a31efa81f7a59c2e9ccae6ca0608d08ea3495
  1. clang/
  2. llvm/