summaryrefslogtreecommitdiff
path: root/lib/interception/interception.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-06-28 08:27:24 +0000
committerAlexey Samsonov <samsonov@google.com>2012-06-28 08:27:24 +0000
commitb4fefa713da3dabda1cd83ae4182c71f1683f02c (patch)
tree88b4cb3281bbfebb471514aef622d2494c31ac81 /lib/interception/interception.h
parentba362a7f0e98b369758f07aec8794c61e688b82d (diff)
downloadcompiler-rt-b4fefa713da3dabda1cd83ae4182c71f1683f02c.tar.gz
compiler-rt-b4fefa713da3dabda1cd83ae4182c71f1683f02c.tar.bz2
compiler-rt-b4fefa713da3dabda1cd83ae4182c71f1683f02c.tar.xz
[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
Diffstat (limited to 'lib/interception/interception.h')
-rw-r--r--lib/interception/interception.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/interception/interception.h b/lib/interception/interception.h
index 84cceb0f..b72bff2a 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: