[llvm] Use SmallString::str (NFC) (#92712)

This commit is contained in:
Kazu Hirata authored and GitHub committed 2024-05-19 22:48:06 -07:00
1 parent 6b0733e3a3
commit 32ae9a28a5
3 files changed
+4 -7

No files matched your search

+1 -1
View File
@@ -2940,7 +2940,7 @@ Error BitcodeReader::parseValueSymbolTable(uint64_t Offset) {
if (!BB)
return error("Invalid bbentry record");
BB->setName(StringRef(ValueName.data(), ValueName.size()));
BB->setName(ValueName.str());
ValueName.clear();
break;
}