summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Testing/Support/SupportHelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Testing/Support/SupportHelpers.cpp')
-rw-r--r--llvm/lib/Testing/Support/SupportHelpers.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Testing/Support/SupportHelpers.cpp b/llvm/lib/Testing/Support/SupportHelpers.cpp
index 2b26e9e0438..5f53b2330b2 100644
--- a/llvm/lib/Testing/Support/SupportHelpers.cpp
+++ b/llvm/lib/Testing/Support/SupportHelpers.cpp
@@ -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;
OpenPOWER on IntegriCloud