Adapt to llvm.org StringRef API change

This commit is contained in:
Fred Riss
2020-01-31 15:31:50 -08:00
parent 4a4a5fabb0
commit a3afd8b155
102 changed files with 388 additions and 368 deletions

View File

@@ -433,7 +433,7 @@ std::string SerializedModuleBaseName::getName(file_types::ID fileTy) const {
result += '.';
result += file_types::getExtension(fileTy);
return result.str();
return std::string(result);
}
bool