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 | 6438fd54ac475d378f47f2bbf6892e43212a7ff1 (patch) | |
tree | a43a8745c5876c7ea78f113e30a189376540074b /lib/Support/Windows/Path.inc | |
parent | ba30d60ebb71ce403ebd29dab1d5afa5241b1bcf (diff) | |
download | external_llvm-6438fd54ac475d378f47f2bbf6892e43212a7ff1.zip external_llvm-6438fd54ac475d378f47f2bbf6892e43212a7ff1.tar.gz external_llvm-6438fd54ac475d378f47f2bbf6892e43212a7ff1.tar.bz2 |
Remove GetUserHomeDirectory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows/Path.inc')
-rw-r--r-- | lib/Support/Windows/Path.inc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc index f076cd4..1de7548 100644 --- a/lib/Support/Windows/Path.inc +++ b/lib/Support/Windows/Path.inc @@ -242,19 +242,6 @@ Path::GetRootDirectory() { } Path -Path::GetUserHomeDirectory() { - char buff[MAX_PATH]; - HRESULT res = SHGetFolderPathA(NULL, - CSIDL_FLAG_CREATE | CSIDL_APPDATA, - NULL, - SHGFP_TYPE_CURRENT, - buff); - if (res != S_OK) - assert(0 && "Failed to get user home directory"); - return Path(buff); -} - -Path Path::GetCurrentDirectory() { char pathname[MAX_PATH]; ::GetCurrentDirectoryA(MAX_PATH,pathname); |