projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
830c81d
)
Fix Windows build (typo in disk_space() implementation)
author
Mehdi Amini
<mehdi.amini@apple.com>
Fri, 1 Apr 2016 00:52:05 +0000
(
00:52
+0000)
committer
Mehdi Amini
<mehdi.amini@apple.com>
Fri, 1 Apr 2016 00:52:05 +0000
(
00:52
+0000)
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 265087
llvm/lib/Support/Windows/Path.inc
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Windows/Path.inc
b/llvm/lib/Support/Windows/Path.inc
index
068ed35
..
6de21d0
100644
(file)
--- a/
llvm/lib/Support/Windows/Path.inc
+++ b/
llvm/lib/Support/Windows/Path.inc
@@
-158,7
+158,7
@@
ErrorOr<space_info> disk_space(const Twine &Path) {
space_info SpaceInfo;
SpaceInfo.capacity =
(static_cast<uint64_t>(Total.HighPart) << 32) + Total.LowPart;
- SpaceInfo.
F
ree = (static_cast<uint64_t>(Free.HighPart) << 32) + Free.LowPart;
+ SpaceInfo.
f
ree = (static_cast<uint64_t>(Free.HighPart) << 32) + Free.LowPart;
SpaceInfo.available =
(static_cast<uint64_t>(Avail.HighPart) << 32) + Avail.LowPart;
return SpaceInfo;