mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Fix Whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118683 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7aac79bdea
commit
6c43de46ff
@ -288,7 +288,7 @@ Path::GetBitcodeLibraryPaths(std::vector<sys::Path>& Paths) {
|
|||||||
Path
|
Path
|
||||||
Path::GetLLVMDefaultConfigDir() {
|
Path::GetLLVMDefaultConfigDir() {
|
||||||
Path ret = GetUserHomeDirectory();
|
Path ret = GetUserHomeDirectory();
|
||||||
if(!ret.appendComponent(".llvm"))
|
if (!ret.appendComponent(".llvm"))
|
||||||
assert(0 && "Failed to append .llvm");
|
assert(0 && "Failed to append .llvm");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@ -296,11 +296,11 @@ Path::GetLLVMDefaultConfigDir() {
|
|||||||
Path
|
Path
|
||||||
Path::GetUserHomeDirectory() {
|
Path::GetUserHomeDirectory() {
|
||||||
char buff[MAX_PATH];
|
char buff[MAX_PATH];
|
||||||
HRESULT res = SHGetFolderPathA(NULL,
|
HRESULT res = SHGetFolderPathA(NULL,
|
||||||
CSIDL_FLAG_CREATE | CSIDL_APPDATA,
|
CSIDL_FLAG_CREATE | CSIDL_APPDATA,
|
||||||
NULL,
|
NULL,
|
||||||
SHGFP_TYPE_CURRENT,
|
SHGFP_TYPE_CURRENT,
|
||||||
buff);
|
buff);
|
||||||
if (res != S_OK)
|
if (res != S_OK)
|
||||||
assert(0 && "Failed to get user home directory");
|
assert(0 && "Failed to get user home directory");
|
||||||
return Path(buff);
|
return Path(buff);
|
||||||
|
Loading…
Reference in New Issue
Block a user