[compiler-rt] r328403 - Remove duplicated const qualifier.
Alex Shlyapnikov via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 23 17:40:51 PDT 2018
Author: alekseyshl
Date: Fri Mar 23 17:40:51 2018
New Revision: 328403
URL: http://llvm.org/viewvc/llvm-project?rev=328403&view=rev
Log:
Remove duplicated const qualifier.
Modified:
compiler-rt/trunk/lib/hwasan/hwasan_linux.cc
Modified: compiler-rt/trunk/lib/hwasan/hwasan_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/hwasan/hwasan_linux.cc?rev=328403&r1=328402&r2=328403&view=diff
==============================================================================
--- compiler-rt/trunk/lib/hwasan/hwasan_linux.cc (original)
+++ compiler-rt/trunk/lib/hwasan/hwasan_linux.cc Fri Mar 23 17:40:51 2018
@@ -202,7 +202,7 @@ static AccessInfo GetAccessInfo(siginfo_
const bool is_store = code & 0x10;
const bool recover = code & 0x20;
- const const uptr addr = uc->uc_mcontext.regs[0];
+ const uptr addr = uc->uc_mcontext.regs[0];
const unsigned size_log = code & 0xf;
if (size_log > 4 && size_log != 0xf)
return AccessInfo{}; // Not ours.
More information about the llvm-commits
mailing list