[llvm-commits] [compiler-rt] r166006 - in /compiler-rt/trunk/lib/sanitizer_common: sanitizer_internal_defs.h sanitizer_libc.cc
Kostya Serebryany
kcc at google.com
Mon Oct 15 21:50:33 PDT 2012
Author: kcc
Date: Mon Oct 15 23:50:32 2012
New Revision: 166006
URL: http://llvm.org/viewvc/llvm-project?rev=166006&view=rev
Log:
[asan] fix lint
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h?rev=166006&r1=166005&r2=166006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h Mon Oct 15 23:50:32 2012
@@ -133,7 +133,7 @@
#define UNREACHABLE(msg) do { \
CHECK(0 && msg); \
Die(); \
-} while(0)
+} while (0)
#define UNIMPLEMENTED() UNREACHABLE("unimplemented")
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.cc?rev=166006&r1=166005&r2=166006&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.cc Mon Oct 15 23:50:32 2012
@@ -54,7 +54,7 @@
} else {
if (d > s && n > 0)
for (i = n - 1; i > 0 ; --i) {
- d[i] = s[i];
+ d[i] = s[i];
}
}
return dest;
More information about the llvm-commits
mailing list