mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 10:08:59 +08:00
Fix a crasher on the MacOSX test suite for Objective C.
llvm-svn: 240351
This commit is contained in:
@@ -5380,7 +5380,7 @@ ClangASTType::AddObjCClassProperty (const char *property_name,
|
||||
&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)
|
||||
|
||||
Reference in New Issue
Block a user