forked from OSchip/llvm-project
Don't crash due to not checking log shared pointer.
llvm-svn: 146126
This commit is contained in:
parent
00326406d4
commit
161f367047
|
@ -624,7 +624,8 @@ ClangASTSource::FindObjCMethodDecls (NameSearchContext &context)
|
|||
|
||||
if (!copied_decl)
|
||||
{
|
||||
log->Printf(" CAS::FOMD[%d] couldn't import method from symbols", current_id);
|
||||
if (log)
|
||||
log->Printf(" CAS::FOMD[%d] couldn't import method from symbols", current_id);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue