diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-06-25 06:53:10 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-06-25 06:53:10 +0000 |
commit | 6bae39d1db13f60d3e9b8393e5b9d9eb2ab1b5c0 (patch) | |
tree | 2bf24e8867dd6a04a58aac0d7d2ea11aff28b1bf /lib/interception/interception.h | |
parent | 025ea90c9e15a18d29b6aab70f8192ae9c1beea4 (diff) |
Lots of trivial changes to remove extraneous semicolons throughout ASan.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/interception/interception.h')
-rw-r--r-- | lib/interception/interception.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/interception/interception.h b/lib/interception/interception.h index d3e807ae8..ab4c9edd5 100644 --- a/lib/interception/interception.h +++ b/lib/interception/interception.h @@ -105,20 +105,20 @@ #define REAL(x) __interception::PTR_TO_REAL(x) #define FUNC_TYPE(x) x##_f -#define DECLARE_REAL(ret_type, func, ...); \ +#define DECLARE_REAL(ret_type, func, ...) \ typedef ret_type (*FUNC_TYPE(func))(__VA_ARGS__); \ namespace __interception { \ extern FUNC_TYPE(func) PTR_TO_REAL(func); \ } -#define DECLARE_REAL_AND_INTERCEPTOR(ret_type, func, ...); \ +#define DECLARE_REAL_AND_INTERCEPTOR(ret_type, func, ...) \ DECLARE_REAL(ret_type, func, ##__VA_ARGS__); \ extern "C" ret_type WRAP(func)(__VA_ARGS__); // FIXME(timurrrr): We might need to add DECLARE_REAL_EX etc to support // different calling conventions later. -#define DEFINE_REAL_EX(ret_type, convention, func, ...); \ +#define DEFINE_REAL_EX(ret_type, convention, func, ...) \ typedef ret_type (convention *FUNC_TYPE(func))(__VA_ARGS__); \ namespace __interception { \ FUNC_TYPE(func) PTR_TO_REAL(func); \ @@ -130,11 +130,11 @@ // foo with an interceptor for other function. #define DEFAULT_CONVENTION -#define DEFINE_REAL(ret_type, func, ...); \ +#define DEFINE_REAL(ret_type, func, ...) \ DEFINE_REAL_EX(ret_type, DEFAULT_CONVENTION, func, __VA_ARGS__); #define INTERCEPTOR_EX(ret_type, convention, func, ...) \ - DEFINE_REAL_EX(ret_type, convention, func, __VA_ARGS__); \ + DEFINE_REAL_EX(ret_type, convention, func, __VA_ARGS__) \ DECLARE_WRAPPER(ret_type, convention, func, __VA_ARGS__); \ extern "C" \ INTERCEPTOR_ATTRIBUTE \ |