summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorArnaud A. de Grandmaison <arnaud.adegm@gmail.com>2014-05-29 13:42:17 +0000
committerArnaud A. de Grandmaison <arnaud.adegm@gmail.com>2014-05-29 13:42:17 +0000
commit53ae251a1714858e9d268da7a74988b0d24032c0 (patch)
treeb93a369ed8bccc88e3bb558e01885ea0db1b9bb4 /lldb
parent8ee4126ae1c1d7ccc288f761c7d2ca04aadbef6b (diff)
downloadbcm5719-llvm-53ae251a1714858e9d268da7a74988b0d24032c0.tar.gz
bcm5719-llvm-53ae251a1714858e9d268da7a74988b0d24032c0.zip
Fix r209807 which inadvertently removed things
llvm-svn: 209809
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Expression/ASTResultSynthesizer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Expression/ASTResultSynthesizer.cpp b/lldb/source/Expression/ASTResultSynthesizer.cpp
index f118943a23b..9baeafdc72b 100644
--- a/lldb/source/Expression/ASTResultSynthesizer.cpp
+++ b/lldb/source/Expression/ASTResultSynthesizer.cpp
@@ -59,6 +59,9 @@ ASTResultSynthesizer::Initialize(ASTContext &Context)
void
ASTResultSynthesizer::TransformTopLevelDecl(Decl* D)
+{
+ Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS));
+
if (NamedDecl *named_decl = dyn_cast<NamedDecl>(D))
{
if (log && log->GetVerbose())
OpenPOWER on IntegriCloud