[ASan] cleanup: trailing semicolons, trailing colons in enums

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159338 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/asan/asan_allocator.cc b/lib/asan/asan_allocator.cc
index 349bb50..25d98bb 100644
--- a/lib/asan/asan_allocator.cc
+++ b/lib/asan/asan_allocator.cc
@@ -153,7 +153,7 @@
   CHUNK_AVAILABLE  = 0x57,
   CHUNK_ALLOCATED  = 0x32,
   CHUNK_QUARANTINE = 0x19,
-  CHUNK_MEMALIGN   = 0xDC,
+  CHUNK_MEMALIGN   = 0xDC
 };
 
 struct ChunkBase {
diff --git a/lib/asan/asan_interceptors.cc b/lib/asan/asan_interceptors.cc
index 7897d2b..5becad3 100644
--- a/lib/asan/asan_interceptors.cc
+++ b/lib/asan/asan_interceptors.cc
@@ -371,7 +371,7 @@
 INTERCEPTOR(char*, index, const char *string, int c)
   ALIAS(WRAPPER_NAME(strchr));
 #else
-DEFINE_REAL(char*, index, const char *string, int c);
+DEFINE_REAL(char*, index, const char *string, int c)
 #endif
 
 INTERCEPTOR(int, strcasecmp, const char *s1, const char *s2) {
diff --git a/lib/asan/asan_mac.cc b/lib/asan/asan_mac.cc
index ad3186d..2d5a967 100644
--- a/lib/asan/asan_mac.cc
+++ b/lib/asan/asan_mac.cc
@@ -55,7 +55,7 @@
   MACOS_VERSION_UNKNOWN = 0,
   MACOS_VERSION_LEOPARD,
   MACOS_VERSION_SNOW_LEOPARD,
-  MACOS_VERSION_LION,
+  MACOS_VERSION_LION
 };
 
 static int GetMacosVersion() {
@@ -295,7 +295,7 @@
                                 asan_dispatch_call_block_and_release);
 }
 
-DECLARE_REAL_AND_INTERCEPTOR(void, free, void *ptr);
+DECLARE_REAL_AND_INTERCEPTOR(void, free, void *ptr)
 
 INTERCEPTOR(void, dispatch_sync_f, dispatch_queue_t dq, void *ctxt,
                                    dispatch_function_t func) {
diff --git a/lib/interception/interception.h b/lib/interception/interception.h
index 84cceb0..b72bff2 100644
--- a/lib/interception/interception.h
+++ b/lib/interception/interception.h
@@ -43,21 +43,21 @@
 // You can access original function by calling REAL(foo)(bar, baz).
 // By default, REAL(foo) will be visible only inside your interceptor, and if
 // you want to use it in other parts of RTL, you'll need to:
-//      3a) add DECLARE_REAL(int, foo, const char*, double); to a
+//      3a) add DECLARE_REAL(int, foo, const char*, double) to a
 //          header file.
 // However, if the call "INTERCEPT_FUNCTION(foo)" and definition for
 // INTERCEPTOR(..., foo, ...) are in different files, you'll instead need to:
-//      3b) add DECLARE_REAL_AND_INTERCEPTOR(int, foo, const char*, double);
+//      3b) add DECLARE_REAL_AND_INTERCEPTOR(int, foo, const char*, double)
 //          to a header file.
 
 // Notes: 1. Things may not work properly if macro INTERCEPT(...) {...} or
-//           DECLARE_REAL(...); are located inside namespaces.
+//           DECLARE_REAL(...) are located inside namespaces.
 //        2. On Mac you can also use: "OVERRIDE_FUNCTION(foo, zoo);" to
 //           effectively redirect calls from "foo" to "zoo". In this case
 //           you aren't required to implement
-//           INTERCEPTOR(int, foo, const char *bar, double baz);
+//           INTERCEPTOR(int, foo, const char *bar, double baz) {...}
 //           but instead you'll have to add
-//           DEFINE_REAL(int, foo, const char *bar, double baz); in your
+//           DEFINE_REAL(int, foo, const char *bar, double baz) in your
 //           source file (to define a pointer to overriden function).
 
 // How it works: