]> granicus.if.org Git - clang/commit
Fix crash when assiging to a property with an invalid type
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 4 Aug 2014 17:28:05 +0000 (17:28 +0000)
committerOlivier Goffart <ogoffart@woboq.com>
Mon, 4 Aug 2014 17:28:05 +0000 (17:28 +0000)
commit7e0b0ec1bbe82f2db8fafb29b4c0eb00acd9786a
tree052496eea5eb82f4f696c45e12b97433ab322bdb
parent30d47b46c3682ac7cfb1b8d20cc0664cd665a1da
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/trunk@214734 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaPseudoObject.cpp
test/SemaObjCXX/property-invalid-type.mm [new file with mode: 0644]