forked from OSchip/llvm-project
Nuke stale code for separately importing the qualifer -- it's just part
of the QualifierLoc, and that's all we need to import now. llvm-svn: 130675
This commit is contained in:
parent
1c60a0bc98
commit
1d352ec6d9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue