diff options
Diffstat (limited to 'lib/System')
-rw-r--r-- | lib/System/Win32/Path.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index 66e50acaea..8990a420a0 100644 --- a/lib/System/Win32/Path.inc +++ b/lib/System/Win32/Path.inc @@ -288,7 +288,7 @@ Path::GetBitcodeLibraryPaths(std::vector<sys::Path>& Paths) { Path Path::GetLLVMDefaultConfigDir() { Path ret = GetUserHomeDirectory(); - if(!ret.appendComponent(".llvm")) + if (!ret.appendComponent(".llvm")) assert(0 && "Failed to append .llvm"); return ret; } @@ -296,11 +296,11 @@ Path::GetLLVMDefaultConfigDir() { Path Path::GetUserHomeDirectory() { char buff[MAX_PATH]; - HRESULT res = SHGetFolderPathA(NULL, - CSIDL_FLAG_CREATE | CSIDL_APPDATA, - NULL, - SHGFP_TYPE_CURRENT, - buff); + 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); |