[llvm-commits] [llvm] r118683 - /llvm/trunk/lib/System/Win32/Path.inc
Michael J. Spencer
bigcheesegs at gmail.com
Wed Nov 10 07:06:00 PST 2010
Author: mspencer
Date: Wed Nov 10 09:06:00 2010
New Revision: 118683
URL: http://llvm.org/viewvc/llvm-project?rev=118683&view=rev
Log:
Fix Whitespace.
Modified:
llvm/trunk/lib/System/Win32/Path.inc
Modified: llvm/trunk/lib/System/Win32/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Win32/Path.inc?rev=118683&r1=118682&r2=118683&view=diff
==============================================================================
--- llvm/trunk/lib/System/Win32/Path.inc (original)
+++ llvm/trunk/lib/System/Win32/Path.inc Wed Nov 10 09:06:00 2010
@@ -288,7 +288,7 @@
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
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);
More information about the llvm-commits
mailing list