[libclc] r317251 - native_log10: Use unary_decl instead of custom inc file
Jan Vesely via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 2 12:48:45 PDT 2017
Author: jvesely
Date: Thu Nov 2 12:48:44 2017
New Revision: 317251
URL: http://llvm.org/viewvc/llvm-project?rev=317251&view=rev
Log:
native_log10: 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/native_log10.inc
Modified:
libclc/trunk/generic/include/clc/math/native_log10.h
Modified: libclc/trunk/generic/include/clc/math/native_log10.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/native_log10.h?rev=317251&r1=317250&r2=317251&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/math/native_log10.h (original)
+++ libclc/trunk/generic/include/clc/math/native_log10.h Thu Nov 2 12:48:44 2017
@@ -1,5 +1,9 @@
-#define __CLC_BODY <clc/math/native_log10.inc>
+#define __CLC_BODY <clc/math/unary_decl.inc>
+#define __CLC_FUNCTION native_log10
#define __FLOAT_ONLY
+
#include <clc/math/gentype.inc>
-#undef __CLC_BODY
+
#undef __FLOAT_ONLY
+#undef __CLC_BODY
+#undef __CLC_FUNCTION
Removed: libclc/trunk/generic/include/clc/math/native_log10.inc
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/native_log10.inc?rev=317250&view=auto
==============================================================================
--- libclc/trunk/generic/include/clc/math/native_log10.inc (original)
+++ libclc/trunk/generic/include/clc/math/native_log10.inc (removed)
@@ -1 +0,0 @@
-_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE native_log10(__CLC_GENTYPE a);
More information about the cfe-commits
mailing list