mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SR-11889: Using Located<T> instead of std::pair<SourceLoc, T>
This commit is contained in:
@@ -915,7 +915,7 @@ static void flattenImportPath(const ModuleDecl::ImportedModule &import,
|
||||
outStream << '\0';
|
||||
assert(import.first.size() == 1 && "can only handle top-level decl imports");
|
||||
auto accessPathElem = import.first.front();
|
||||
outStream << accessPathElem.first.str();
|
||||
outStream << accessPathElem.item.str();
|
||||
}
|
||||
|
||||
uint64_t getRawModTimeOrHash(const SerializationOptions::FileDependency &dep) {
|
||||
|
||||
Reference in New Issue
Block a user