forked from OSchip/llvm-project
Fixed a crash in ClangASTSource when logging is
disabled. llvm-svn: 180563
This commit is contained in:
parent
8180db1f03
commit
8ef197729d
|
@ -1776,6 +1776,7 @@ NameSearchContext::AddFunDecl (void *type)
|
|||
{
|
||||
Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS));
|
||||
|
||||
if (log)
|
||||
log->Printf("Function type wasn't a FunctionProtoType");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue