We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f738cbc + aa5ef57 commit edc6bcaCopy full SHA for edc6bca
lib/Serialization/SerializedModuleLoader.cpp
@@ -611,7 +611,7 @@ SerializedModuleBaseName::getPackageInterfacePathIfInSamePackage(
611
612
if (fs.exists(packagePath)) {
613
// Read the interface file and extract its package-name argument value
614
- StringRef result;
+ std::string result;
615
if (auto packageFile = llvm::MemoryBuffer::getFile(packagePath)) {
616
llvm::BumpPtrAllocator alloc;
617
llvm::StringSaver argSaver(alloc);
0 commit comments