[compiler-rt] r275984 - fix compiler warnings [NFC]

Etienne Bergeron via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 08:30:22 PDT 2016


Author: etienneb
Date: Tue Jul 19 10:30:22 2016
New Revision: 275984

URL: http://llvm.org/viewvc/llvm-project?rev=275984&view=rev
Log:
fix compiler warnings [NFC]

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=275984&r1=275983&r2=275984&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc Tue Jul 19 10:30:22 2016
@@ -390,7 +390,7 @@ static inline void StrstrCheck(void *ctx
 #if SANITIZER_INTERCEPT_STRSTR
 
 DECLARE_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_strstr, uptr called_pc,
-                              const char *s1, const char *s2, char *result);
+                              const char *s1, const char *s2, char *result)
 
 INTERCEPTOR(char*, strstr, const char *s1, const char *s2) {
   if (COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED)
@@ -413,7 +413,7 @@ INTERCEPTOR(char*, strstr, const char *s
 #if SANITIZER_INTERCEPT_STRCASESTR
 
 DECLARE_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_strcasestr, uptr called_pc,
-                              const char *s1, const char *s2, char *result);
+                              const char *s1, const char *s2, char *result)
 
 INTERCEPTOR(char*, strcasestr, const char *s1, const char *s2) {
   void *ctx;
@@ -434,7 +434,7 @@ INTERCEPTOR(char*, strcasestr, const cha
 #if SANITIZER_INTERCEPT_MEMMEM
 DECLARE_WEAK_INTERCEPTOR_HOOK(__sanitizer_weak_hook_memmem, uptr called_pc,
                               const void *s1, SIZE_T len1, const void *s2,
-                              SIZE_T len2, void *result);
+                              SIZE_T len2, void *result)
 
 INTERCEPTOR(void*, memmem, const void *s1, SIZE_T len1, const void *s2,
             SIZE_T len2) {




More information about the llvm-commits mailing list