From dbceb9b2203b58f829e911c8d1610b95d9abf192 Mon Sep 17 00:00:00 2001 From: Douglas Yung Date: Thu, 6 Jun 2019 08:04:33 +0000 Subject: Fixup files added in r362636 to build with gcc 5.4. NFCI llvm-svn: 362682 --- compiler-rt/lib/gwp_asan/guarded_pool_allocator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler-rt/lib/gwp_asan/guarded_pool_allocator.h') diff --git a/compiler-rt/lib/gwp_asan/guarded_pool_allocator.h b/compiler-rt/lib/gwp_asan/guarded_pool_allocator.h index af2a5044a14..50d9baf4ffc 100644 --- a/compiler-rt/lib/gwp_asan/guarded_pool_allocator.h +++ b/compiler-rt/lib/gwp_asan/guarded_pool_allocator.h @@ -135,7 +135,7 @@ public: // singleton pointer and call the internal version of this function. This // method is never thread safe, and should only be called when fatal errors // occur. - static void reportError(uintptr_t AccessPtr, Error Error = Error::UNKNOWN); + static void reportError(uintptr_t AccessPtr, Error E = Error::UNKNOWN); private: static constexpr size_t kInvalidSlotID = SIZE_MAX; @@ -204,7 +204,7 @@ private: // responsible for the error is placed in *Meta. Error diagnoseUnknownError(uintptr_t AccessPtr, AllocationMetadata **Meta); - void reportErrorInternal(uintptr_t AccessPtr, Error Error); + void reportErrorInternal(uintptr_t AccessPtr, Error E); // Cached page size for this system in bytes. size_t PageSize = 0; -- cgit v1.2.3