[llvm] r314313 - [Support] mapped_file_region::size() returns size_t
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 27 09:08:33 PDT 2017
Author: lebedevri
Date: Wed Sep 27 09:08:33 2017
New Revision: 314313
URL: http://llvm.org/viewvc/llvm-project?rev=314313&view=rev
Log:
[Support] mapped_file_region::size() returns size_t
Fixup last commit, found by clang-stage1-cmake-RA-incremental bot.
Modified:
llvm/trunk/lib/Support/Unix/Path.inc
Modified: llvm/trunk/lib/Support/Unix/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Unix/Path.inc?rev=314313&r1=314312&r2=314313&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Unix/Path.inc (original)
+++ llvm/trunk/lib/Support/Unix/Path.inc Wed Sep 27 09:08:33 2017
@@ -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;
}
More information about the llvm-commits
mailing list