summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ASTResultSynthesizer.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-01-22 01:25:40 +0000
committerJim Ingham <jingham@apple.com>2011-01-22 01:25:40 +0000
commite3be0c55f544908f2be1050f95fecec2469e32ac (patch)
tree2d5cfcd249f30962bb7d8d0f6ad395bb5897b4bb /lldb/source/Expression/ASTResultSynthesizer.cpp
parentd8d148e0eec460157958c94a14be51ee4a13c691 (diff)
downloadbcm5719-llvm-e3be0c55f544908f2be1050f95fecec2469e32ac.tar.gz
bcm5719-llvm-e3be0c55f544908f2be1050f95fecec2469e32ac.zip
Move some of the more noisy "log enable lldb expression" output to the verbose output.
llvm-svn: 124014
Diffstat (limited to 'lldb/source/Expression/ASTResultSynthesizer.cpp')
-rw-r--r--lldb/source/Expression/ASTResultSynthesizer.cpp10
1 files changed, 5 insertions, 5 deletions
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);
OpenPOWER on IntegriCloud