Commits

Chris Lattner committed d2a33362dcc
Fix getRValueType() to not strip off @inout types, only @lvalue types. - Introduce a new TypeBase::getInOutObjectType() that strips off @inout types - Switch stuff that is calling getRValueType() to call getInOutObjectType() when they are stripping @inout, not @lvalue (this is primarily around stuff working with self) - Update testcases, some diagnostics improve around & handling. This fixes rdar://15708430 and rdar://15729093. Swift SVN r11794