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:
7c98367
)
[Support] mapped_file_region::size() returns size_t
author
Roman Lebedev
<lebedev.ri@gmail.com>
Wed, 27 Sep 2017 16:08:33 +0000
(16:08 +0000)
committer
Roman Lebedev
<lebedev.ri@gmail.com>
Wed, 27 Sep 2017 16:08:33 +0000
(16:08 +0000)
Fixup last commit, found by clang-stage1-cmake-RA-incremental bot.
llvm-svn: 314313
llvm/lib/Support/Unix/Path.inc
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Unix/Path.inc
b/llvm/lib/Support/Unix/Path.inc
index
e197132
..
d0bb6a4
100644
(file)
--- a/
llvm/lib/Support/Unix/Path.inc
+++ b/
llvm/lib/Support/Unix/Path.inc
@@
-654,7
+654,7
@@
mapped_file_region::~mapped_file_region() {
::munmap(Mapping, Size);
}
-
uint64
_t mapped_file_region::size() const {
+
size
_t mapped_file_region::size() const {
assert(Mapping && "Mapping failed but used anyway!");
return Size;
}