]> granicus.if.org Git - clang/commit
Merging r214734:
authorBill Wendling <isanbard@gmail.com>
Tue, 5 Aug 2014 05:19:17 +0000 (05:19 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 5 Aug 2014 05:19:17 +0000 (05:19 +0000)
commit38aafa842843e746db067b480318b30aae45c949
tree68c3fdb7d76b12c00221adc3da95187585e2de94
parent449eddb4a08a1e24a04d88358c9ffb3927996c59
Merging r214734:
------------------------------------------------------------------------
r214734 | ogoffart | 2014-08-04 10:28:05 -0700 (Mon, 04 Aug 2014) | 7 lines

Fix crash when assiging to a property with an invalid type

This is a regression from clang 3.4

Set the result to ExprError and returns true, rather than simply
returns false because errors have been reported already and returning
false show a confusing error
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_35@214839 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaPseudoObject.cpp
test/SemaObjCXX/property-invalid-type.mm [new file with mode: 0644]