diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-17 02:42:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-17 02:42:31 +0000 |
commit | 1cd6711ce31f3479877b347d643fe9744e6d44f2 (patch) | |
tree | 0ccb79a36280da14f0ea425d120a77afe7df58e6 | |
parent | e1ce4a9d839198b233837a66151e6c353cc592b8 (diff) |
remove dead macros
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64725 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Headers/tgmath-sofar.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/Headers/tgmath-sofar.h b/lib/Headers/tgmath-sofar.h index daf5f69f7c..c7fe6fdbaf 100644 --- a/lib/Headers/tgmath-sofar.h +++ b/lib/Headers/tgmath-sofar.h @@ -32,25 +32,6 @@ #ifndef __cplusplus #include <complex.h> -#define __TG_UNARY_OVERLOAD(DSTTYPE, TYPE, SRCFN, DSTFN) \ - static DSTTYPE __attribute__((overloadable, always_inline)) __tg_ ## SRCFN(TYPE x) { return DSTFN(x); } - - -/* __TG_RC_1 - Unary functions defined on both real and complex values. */ -#define __TG_RC_1(op, REALFN, COMPLEXFN) \ - __TG_UNARY_OVERLOAD(float, float, REALFN, REALFN ## f) \ - __TG_UNARY_OVERLOAD(double, double, REALFN, REALFN) \ - __TG_UNARY_OVERLOAD(long double, long double, REALFN, REALFN ## l) \ - __TG_UNARY_OVERLOAD(double, long long, REALFN, REALFN) \ - __TG_UNARY_OVERLOAD(double, long, REALFN, REALFN) \ - __TG_UNARY_OVERLOAD(double, int, REALFN, REALFN) \ - __TG_UNARY_OVERLOAD(double, unsigned long long, REALFN, REALFN) \ - __TG_UNARY_OVERLOAD(double, unsigned long, REALFN, REALFN) \ - __TG_UNARY_OVERLOAD(double, unsigned int, REALFN, REALFN) \ - __TG_UNARY_OVERLOAD(_Complex float, _Complex float, REALFN, COMPLEXFN ## f) \ - __TG_UNARY_OVERLOAD(_Complex double, _Complex double, REALFN, COMPLEXFN) \ - __TG_UNARY_OVERLOAD(_Complex long double, _Complex long double, REALFN, COMPLEXFN ## l) - #define __TG_ATTRS static __attribute__((overloadable, always_inline)) /* C99 7.22p4, functions in both math.h and complex.h. */ |