[asan] fix lint

llvm-svn: 166006
This commit is contained in:
Kostya Serebryany 2012-10-16 04:50:32 +00:00
parent af2521fd74
commit 278bd2e3a3
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ void NORETURN CheckFailed(const char *file, int line, const char *cond,
#define UNREACHABLE(msg) do { \
CHECK(0 && msg); \
Die(); \
} while(0)
} while (0)
#define UNIMPLEMENTED() UNREACHABLE("unimplemented")

View File

@ -54,7 +54,7 @@ void *internal_memmove(void *dest, const void *src, uptr n) {
} else {
if (d > s && n > 0)
for (i = n - 1; i > 0 ; --i) {
d[i] = s[i];
d[i] = s[i];
}
}
return dest;