diff options
Diffstat (limited to 'source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp')
| -rw-r--r-- | source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp b/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp index eabc96aa8e51..8fbfa6e47578 100644 --- a/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp +++ b/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp @@ -179,8 +179,7 @@ ClangFunctionCaller::CompileFunction(lldb::ThreadSP thread_to_use_sp,    m_wrapper_function_text.append(");\n}\n");    Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_EXPRESSIONS)); -  if (log) -    log->Printf("Expression: \n\n%s\n\n", m_wrapper_function_text.c_str()); +  LLDB_LOGF(log, "Expression: \n\n%s\n\n", m_wrapper_function_text.c_str());    // Okay, now compile this expression | 
