1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Fix error with SmallString implicit conversion.

llvm-svn: 341597
This commit is contained in:
Zachary Turner 2018-09-06 22:47:32 +00:00
parent fd994630aa
commit 519caed47d

View File

@ -30,11 +30,9 @@ static std::pair<bool, SmallString<128>> findSrcDirMap(StringRef Argv0) {
if (llvm::sys::fs::is_regular_file(PathInParentDir))
return std::make_pair(true, std::move(PathInParentDir));
return std::pair<bool, SmallString<128>>(false, "");
return std::pair<bool, SmallString<128>>(false, {});
}
static bool isInParentDir(StringRef Argv0) {}
SmallString<128> llvm::unittest::getInputFileDirectory(const char *Argv0) {
bool Found = false;
SmallString<128> InputFilePath;