diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-05-02 01:01:54 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-05-02 01:01:54 +0000 |
commit | 5ebd9fea8b4b998ec75eb2bf59644e86205bc9aa (patch) | |
tree | 327de188ac410f7f1f2d983f3c3476a4f6609234 | |
parent | ba0f1012c4d7dfff2de8f1b728c47bc080e81712 (diff) |
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
-rw-r--r-- | lib/AST/ASTImporter.cpp | 7 |
1 files changed, 0 insertions, 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<ValueDecl>(Importer.Import(E->getDecl())); if (!ToD) return 0; |