mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SR-11889: Using Located<T> instead of std::pair<SourceLoc, T>
This commit is contained in:
@@ -246,7 +246,7 @@ bool NameMatcher::walkToDeclPre(Decl *D) {
|
||||
}
|
||||
} else if (ImportDecl *ID = dyn_cast<ImportDecl>(D)) {
|
||||
for(const ImportDecl::AccessPathElement &Element: ID->getFullAccessPath()) {
|
||||
tryResolve(ASTWalker::ParentTy(D), Element.second);
|
||||
tryResolve(ASTWalker::ParentTy(D), Element.loc);
|
||||
if (isDone())
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user