From cdc7f0326753701a1e05b48b21ac34ecd109bd00 Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Thu, 25 Jun 2009 16:18:05 +0200
Subject: [PATCH] Visit the new expressions when search for uses.

---
 src/plugins/cppeditor/cppeditor.cpp | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/plugins/cppeditor/cppeditor.cpp b/src/plugins/cppeditor/cppeditor.cpp
index d1f84bd6032..0c32976d27f 100644
--- a/src/plugins/cppeditor/cppeditor.cpp
+++ b/src/plugins/cppeditor/cppeditor.cpp
@@ -287,13 +287,6 @@ protected:
         return false;
     }
 
-    virtual bool visit(NewExpressionAST *ast)
-    {
-        accept(ast->new_placement);
-        accept(ast->new_initializer);
-        return false;
-    }
-
     virtual bool visit(ElaboratedTypeSpecifierAST *)
     {
         // ### template args
-- 
GitLab