diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-11 19:08:15 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-11 19:08:15 +0000 |
commit | 8b86c6c509b53448c6d01f2be0da6507dbd2ad01 (patch) | |
tree | 34c9caa6ef6130c6d84dd17f381c6a1b387edcdc /llvm/lib/Support/Unix | |
parent | 8d6e5ec29231b4003e09746ea08d19b853de36cf (diff) | |
download | bcm5719-llvm-8b86c6c509b53448c6d01f2be0da6507dbd2ad01.tar.gz bcm5719-llvm-8b86c6c509b53448c6d01f2be0da6507dbd2ad01.zip |
Remove GetUserHomeDirectory.
llvm-svn: 183773
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r-- | llvm/lib/Support/Unix/Path.inc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index b942674d91a..ab9157be99f 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -208,16 +208,6 @@ Path::GetTemporaryDirectory(std::string *ErrMsg) { } Path -Path::GetUserHomeDirectory() { - const char* home = getenv("HOME"); - Path result; - if (home && result.set(home)) - return result; - result.set("/"); - return result; -} - -Path Path::GetCurrentDirectory() { char pathname[MAXPATHLEN]; if (!getcwd(pathname, MAXPATHLEN)) { |