Skip to content

Commit 70585b4

Browse files
committed
Change ExplicitModuleInfo to have String members instead of StringRef
1 parent 965ca69 commit 70585b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/swift/Frontend/ModuleInterfaceLoader.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ class ExplicitSwiftModuleLoader: public SerializedModuleLoaderBase {
165165
/// Information about explicitly specified Swift module files.
166166
struct ExplicitModuleInfo {
167167
// Path of the .swiftmodule file.
168-
StringRef modulePath;
168+
std::string modulePath;
169169
// Path of the .swiftmoduledoc file.
170-
StringRef moduleDocPath;
170+
std::string moduleDocPath;
171171
// Path of the .swiftsourceinfo file.
172-
StringRef moduleSourceInfoPath;
172+
std::string moduleSourceInfoPath;
173173
// Opened buffer for the .swiftmodule file.
174174
std::unique_ptr<llvm::MemoryBuffer> moduleBuffer;
175175
};

0 commit comments

Comments
 (0)