[Lldb-commits] [lldb] r240351 - Fix a crasher on the MacOSX test suite for Objective C.
Greg Clayton
gclayton at apple.com
Mon Jun 22 15:35:07 PDT 2015
Author: gclayton
Date: Mon Jun 22 17:35:07 2015
New Revision: 240351
URL: http://llvm.org/viewvc/llvm-project?rev=240351&view=rev
Log:
Fix a crasher on the MacOSX test suite for Objective C.
Modified:
lldb/trunk/source/Symbol/ClangASTType.cpp
Modified: lldb/trunk/source/Symbol/ClangASTType.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTType.cpp?rev=240351&r1=240350&r2=240351&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTType.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTType.cpp Mon Jun 22 17:35:07 2015
@@ -5380,7 +5380,7 @@ ClangASTType::AddObjCClassProperty (cons
&m_ast->Idents.get(property_name),
clang::SourceLocation(), //Source Location for AT
clang::SourceLocation(), //Source location for (
- ivar_decl->getType(),
+ ivar_decl ? ivar_decl->getType() : property_clang_type.GetQualType(),
prop_type_source);
if (property_decl)
More information about the lldb-commits
mailing list