From e7c0c37a315a89f49468efc03a98ed50d262ac74 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Wed, 13 Mar 2019 07:13:32 +0000 Subject: [PATCH] fdim: Use binary_decl_tt.inc instead of custom inc file. Reviewer: Aaron Watry Signed-off-by: Jan Vesely llvm-svn: 356027 --- libclc/generic/include/clc/math/fdim.h | 7 ++++++- libclc/generic/include/clc/math/fdim.inc | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) delete mode 100644 libclc/generic/include/clc/math/fdim.inc diff --git a/libclc/generic/include/clc/math/fdim.h b/libclc/generic/include/clc/math/fdim.h index 45115b0275a2..fc1ce6e483d1 100644 --- a/libclc/generic/include/clc/math/fdim.h +++ b/libclc/generic/include/clc/math/fdim.h @@ -1,2 +1,7 @@ -#define __CLC_BODY +#define __CLC_FUNCTION fdim +#define __CLC_BODY + #include + +#undef __CLC_BODY +#undef __CLC_FUNCTION diff --git a/libclc/generic/include/clc/math/fdim.inc b/libclc/generic/include/clc/math/fdim.inc deleted file mode 100644 index ca3467e1706d..000000000000 --- a/libclc/generic/include/clc/math/fdim.inc +++ /dev/null @@ -1 +0,0 @@ -_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE fdim(__CLC_GENTYPE a, __CLC_GENTYPE b);