From 325dec7343df9ac36b0b7d7aeffe3d088f9a749b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 17 Feb 2009 02:42:31 +0000 Subject: [PATCH] remove dead macros llvm-svn: 64725 --- clang/lib/Headers/tgmath-sofar.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/clang/lib/Headers/tgmath-sofar.h b/clang/lib/Headers/tgmath-sofar.h index daf5f69f7c94..c7fe6fdbaf8b 100644 --- a/clang/lib/Headers/tgmath-sofar.h +++ b/clang/lib/Headers/tgmath-sofar.h @@ -32,25 +32,6 @@ #ifndef __cplusplus #include -#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. */