[compiler-rt] r248653 - sanitizer: fix -pedantic warnings

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 21:40:42 PDT 2015


Author: compnerd
Date: Fri Sep 25 23:40:42 2015
New Revision: 248653

URL: http://llvm.org/viewvc/llvm-project?rev=248653&view=rev
Log:
sanitizer: fix -pedantic warnings

Silence a few "warning: extra ';'" warnings from GCC.

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc?rev=248653&r1=248652&r2=248653&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc Fri Sep 25 23:40:42 2015
@@ -4427,9 +4427,9 @@ INTERCEPTOR(int, capset, void *hdrp, con
 #endif
 
 #if SANITIZER_INTERCEPT_AEABI_MEM
-DECLARE_REAL_AND_INTERCEPTOR(void *, memmove, void *, const void *, uptr);
-DECLARE_REAL_AND_INTERCEPTOR(void *, memcpy, void *, const void *, uptr);
-DECLARE_REAL_AND_INTERCEPTOR(void *, memset, void *, int, uptr);
+DECLARE_REAL_AND_INTERCEPTOR(void *, memmove, void *, const void *, uptr)
+DECLARE_REAL_AND_INTERCEPTOR(void *, memcpy, void *, const void *, uptr)
+DECLARE_REAL_AND_INTERCEPTOR(void *, memset, void *, int, uptr)
 
 INTERCEPTOR(void *, __aeabi_memmove, void *to, const void *from, uptr size) {
   return WRAP(memmove)(to, from, size);




More information about the llvm-commits mailing list