[libclc] r317260 - tgamma: Use unary_decl instead of custom inc file
Jan Vesely via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 2 12:49:00 PDT 2017
Author: jvesely
Date: Thu Nov 2 12:49:00 2017
New Revision: 317260
URL: http://llvm.org/viewvc/llvm-project?rev=317260&view=rev
Log:
tgamma: Use unary_decl instead of custom inc file
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-By: Aaron Watry <awatry at gmail.com>
Removed:
libclc/trunk/generic/include/clc/math/tgamma.inc
Modified:
libclc/trunk/generic/include/clc/math/tgamma.h
Modified: libclc/trunk/generic/include/clc/math/tgamma.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/tgamma.h?rev=317260&r1=317259&r2=317260&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/math/tgamma.h (original)
+++ libclc/trunk/generic/include/clc/math/tgamma.h Thu Nov 2 12:49:00 2017
@@ -1,3 +1,7 @@
-#define __CLC_BODY <clc/math/tgamma.inc>
+#define __CLC_BODY <clc/math/unary_decl.inc>
+#define __CLC_FUNCTION tgamma
+
#include <clc/math/gentype.inc>
+
#undef __CLC_BODY
+#undef __CLC_FUNCTION
Removed: libclc/trunk/generic/include/clc/math/tgamma.inc
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/tgamma.inc?rev=317259&view=auto
==============================================================================
--- libclc/trunk/generic/include/clc/math/tgamma.inc (original)
+++ libclc/trunk/generic/include/clc/math/tgamma.inc (removed)
@@ -1 +0,0 @@
-_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE tgamma(__CLC_GENTYPE a);
More information about the cfe-commits
mailing list