From e3be0c55f544908f2be1050f95fecec2469e32ac Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Sat, 22 Jan 2011 01:25:40 +0000 Subject: Move some of the more noisy "log enable lldb expression" output to the verbose output. llvm-svn: 124014 --- lldb/source/Expression/ASTResultSynthesizer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lldb/source/Expression/ASTResultSynthesizer.cpp') diff --git a/lldb/source/Expression/ASTResultSynthesizer.cpp b/lldb/source/Expression/ASTResultSynthesizer.cpp index 99e24728108..e581b965fea 100644 --- a/lldb/source/Expression/ASTResultSynthesizer.cpp +++ b/lldb/source/Expression/ASTResultSynthesizer.cpp @@ -133,7 +133,7 @@ ASTResultSynthesizer::SynthesizeFunctionResult (FunctionDecl *FunDecl) if (!function_decl) return false; - if (log) + if (log && log->GetVerbose()) { std::string s; raw_string_ostream os(s); @@ -150,8 +150,8 @@ ASTResultSynthesizer::SynthesizeFunctionResult (FunctionDecl *FunDecl) bool ret = SynthesizeBodyResult (compound_stmt, function_decl); - - if (log) + + if (log && log->GetVerbose()) { std::string s; raw_string_ostream os(s); @@ -160,7 +160,7 @@ ASTResultSynthesizer::SynthesizeFunctionResult (FunctionDecl *FunDecl) os.flush(); - log->Printf("Transformed function AST:\n%s", s.c_str()); + log->Printf ("Transformed function AST:\n%s", s.c_str()); } return ret; @@ -179,7 +179,7 @@ ASTResultSynthesizer::SynthesizeObjCMethodResult (ObjCMethodDecl *MethodDecl) if (!MethodDecl) return false; - if (log) + if (log && log->GetVerbose()) { std::string s; raw_string_ostream os(s); -- cgit v1.2.3