summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-11 18:58:47 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-11 18:58:47 +0000
commit8cc6dc26bbd479bd23d7f70ccb61cbdd162888f3 (patch)
treea8aca7560d031547ead58edad46dc2b83f9770a4 /llvm/lib/Support/Path.cpp
parentb58973f91884f13964a867768f8ae69134e546d9 (diff)
downloadbcm5719-llvm-8cc6dc26bbd479bd23d7f70ccb61cbdd162888f3.tar.gz
bcm5719-llvm-8cc6dc26bbd479bd23d7f70ccb61cbdd162888f3.zip
Remove GetSystemLibraryPaths.
llvm-svn: 183770
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
-rw-r--r--llvm/lib/Support/Path.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp
index 5c2b1f7dcef..09d2eadd51a 100644
--- a/llvm/lib/Support/Path.cpp
+++ b/llvm/lib/Support/Path.cpp
@@ -95,25 +95,6 @@ bool Path::hasMagicNumber(StringRef Magic) const {
return false;
}
-static void getPathList(const char*path, std::vector<Path>& Paths) {
- const char* at = path;
- const char* delim = strchr(at, PathSeparator);
- Path tmpPath;
- while (delim != 0) {
- std::string tmp(at, size_t(delim-at));
- if (tmpPath.set(tmp))
- if (tmpPath.canRead())
- Paths.push_back(tmpPath);
- at = delim + 1;
- delim = strchr(at, PathSeparator);
- }
-
- if (*at != 0)
- if (tmpPath.set(std::string(at)))
- if (tmpPath.canRead())
- Paths.push_back(tmpPath);
-}
-
static StringRef getDirnameCharSep(StringRef path, const char *Sep) {
assert(Sep[0] != '\0' && Sep[1] == '\0' &&
"Sep must be a 1-character string literal.");
OpenPOWER on IntegriCloud