Fix r209807 which inadvertently removed things
authorArnaud A. de Grandmaison <arnaud.adegm@gmail.com>
Thu, 29 May 2014 13:42:17 +0000 (13:42 +0000)
committerArnaud A. de Grandmaison <arnaud.adegm@gmail.com>
Thu, 29 May 2014 13:42:17 +0000 (13:42 +0000)
llvm-svn: 209809

lldb/source/Expression/ASTResultSynthesizer.cpp

index f118943..9baeafd 100644 (file)
@@ -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())