Don't crash if we are unable to get the member type.

<rdar://problem/21624447>

llvm-svn: 242076
This commit is contained in:
Greg Clayton 2015-07-13 22:08:16 +00:00
parent cb71c72ccc
commit 3ca8f429b1
1 changed files with 1 additions and 1 deletions

View File

@ -2210,7 +2210,7 @@ SymbolFileDWARF::ParseChildMembers
} }
} }
if (prop_name != NULL) if (prop_name != NULL && member_type)
{ {
clang::ObjCIvarDecl *ivar_decl = NULL; clang::ObjCIvarDecl *ivar_decl = NULL;