[libclc] r356025 - copysign: Use binary_decl_tt.inc instead of custom inc file.

Jan Vesely via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 13 00:13:28 PDT 2019


Author: jvesely
Date: Wed Mar 13 00:13:28 2019
New Revision: 356025

URL: http://llvm.org/viewvc/llvm-project?rev=356025&view=rev
Log:
copysign: Use binary_decl_tt.inc instead of custom inc file.

Reviewer: Aaron Watry
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>

Removed:
    libclc/trunk/generic/include/clc/math/copysign.inc
Modified:
    libclc/trunk/generic/include/clc/math/copysign.h

Modified: libclc/trunk/generic/include/clc/math/copysign.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/copysign.h?rev=356025&r1=356024&r2=356025&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/math/copysign.h (original)
+++ libclc/trunk/generic/include/clc/math/copysign.h Wed Mar 13 00:13:28 2019
@@ -1,2 +1,7 @@
-#define __CLC_BODY <clc/math/copysign.inc>
+#define __CLC_FUNCTION copysign
+#define __CLC_BODY <clc/math/binary_decl_tt.inc>
+
 #include <clc/math/gentype.inc>
+
+#undef __CLC_BODY
+#undef __CLC_FUNCTION

Removed: libclc/trunk/generic/include/clc/math/copysign.inc
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/copysign.inc?rev=356024&view=auto
==============================================================================
--- libclc/trunk/generic/include/clc/math/copysign.inc (original)
+++ libclc/trunk/generic/include/clc/math/copysign.inc (removed)
@@ -1 +0,0 @@
-_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE copysign(__CLC_GENTYPE a, __CLC_GENTYPE b);




More information about the cfe-commits mailing list