]> granicus.if.org Git - clang/commitdiff
Nuke stale code for separately importing the qualifer -- it's just part
authorChandler Carruth <chandlerc@gmail.com>
Mon, 2 May 2011 01:01:54 +0000 (01:01 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 2 May 2011 01:01:54 +0000 (01:01 +0000)
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

index b14560e298ef5ac13049fb56853459bfea1882ea..dc881ba86960018acc3c0a88e0d542704ffddc3d 100644 (file)
@@ -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<ValueDecl>(Importer.Import(E->getDecl()));
   if (!ToD)
     return 0;