diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2017-09-27 16:08:33 +0000 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2017-09-27 16:08:33 +0000 |
| commit | 21b013ebc159a0a85fa96de804dc4334c88d314f (patch) | |
| tree | 45bc916a5d2e56b3d7a7ffc5dfcfed6c38ce9030 /llvm/lib | |
| parent | 7c983671f2a7b7d762bd2cca0834b0a0db8df777 (diff) | |
| download | bcm5719-llvm-21b013ebc159a0a85fa96de804dc4334c88d314f.tar.gz bcm5719-llvm-21b013ebc159a0a85fa96de804dc4334c88d314f.zip | |
[Support] mapped_file_region::size() returns size_t
Fixup last commit, found by clang-stage1-cmake-RA-incremental bot.
llvm-svn: 314313
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Support/Unix/Path.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index e1971322bb2..d0bb6a4fffb 100644 --- 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; } |

