summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-08-05 13:20:39 +0000
committerAlexey Samsonov <samsonov@google.com>2013-08-05 13:20:39 +0000
commitb42ea7ef21b8157fc4065b707bcf54eb19d7eafb (patch)
tree55d1b0e754156b0ac5c638d3ee9f792f0b2eef07 /compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
parentf52b717db365d49d8b5a5b5e34d6fb3a9f2cfa86 (diff)
downloadbcm5719-llvm-b42ea7ef21b8157fc4065b707bcf54eb19d7eafb.tar.gz
bcm5719-llvm-b42ea7ef21b8157fc4065b707bcf54eb19d7eafb.zip
Lint fixes
llvm-svn: 187726
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_allocator.h')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_allocator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h b/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
index f7e2b899618..ada1a0c33f4 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_allocator.h
@@ -1127,7 +1127,9 @@ class LargeMmapAllocator {
CHECK(IsAligned(p, page_size_));
return reinterpret_cast<Header*>(p - page_size_);
}
- Header *GetHeader(const void *p) { return GetHeader(reinterpret_cast<uptr>(p)); }
+ Header *GetHeader(const void *p) {
+ return GetHeader(reinterpret_cast<uptr>(p));
+ }
void *GetUser(Header *h) {
CHECK(IsAligned((uptr)h, page_size_));
OpenPOWER on IntegriCloud