From 5ebd9fea8b4b998ec75eb2bf59644e86205bc9aa Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 2 May 2011 01:01:54 +0000 Subject: [PATCH] Nuke stale code for separately importing the qualifer -- it's just part of the QualifierLoc, and that's all we need to import now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130675 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/ASTImporter.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/AST/ASTImporter.cpp b/lib/AST/ASTImporter.cpp index b14560e298..dc881ba869 100644 --- a/lib/AST/ASTImporter.cpp +++ b/lib/AST/ASTImporter.cpp @@ -3755,13 +3755,6 @@ Expr *ASTNodeImporter::VisitExpr(Expr *E) { } Expr *ASTNodeImporter::VisitDeclRefExpr(DeclRefExpr *E) { - NestedNameSpecifier *Qualifier = 0; - if (E->getQualifier()) { - Qualifier = Importer.Import(E->getQualifier()); - if (!E->getQualifier()) - return 0; - } - ValueDecl *ToD = cast_or_null(Importer.Import(E->getDecl())); if (!ToD) return 0; -- 2.40.0