Author: jvesely
Date: Thu Nov  2 12:48:27 2017
New Revision: 317242

URL: http://llvm.org/viewvc/llvm-project?rev=317242&view=rev
Log:
cos: Use unary_decl instead of custom inc file

Signed-off-by: Jan Vesely <jan.ves...@rutgers.edu>
Reviewed-By: Aaron Watry <awa...@gmail.com>

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

Modified: libclc/trunk/generic/include/clc/math/cos.h
URL: 
http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/cos.h?rev=317242&r1=317241&r2=317242&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/math/cos.h (original)
+++ libclc/trunk/generic/include/clc/math/cos.h Thu Nov  2 12:48:27 2017
@@ -1,3 +1,7 @@
-#define __CLC_BODY <clc/math/cos.inc>
+#define __CLC_BODY <clc/math/unary_decl.inc>
+#define __CLC_FUNCTION cos
+
 #include <clc/math/gentype.inc>
+
 #undef __CLC_BODY
+#undef __CLC_FUNCTION

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


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to