Author: jvesely
Date: Sun Oct  8 12:33:55 2017
New Revision: 315189

URL: http://llvm.org/viewvc/llvm-project?rev=315189&view=rev
Log:
math/nextafter: Use custom declaration inc file

Reviewer: Jeroen Ketema
Signed-off-by: Jan Vesely <jan.ves...@rutgers.edu>

Added:
    libclc/trunk/generic/include/clc/math/nextafter.inc
Modified:
    libclc/trunk/generic/include/clc/math/nextafter.h

Modified: libclc/trunk/generic/include/clc/math/nextafter.h
URL: 
http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/nextafter.h?rev=315189&r1=315188&r2=315189&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/math/nextafter.h (original)
+++ libclc/trunk/generic/include/clc/math/nextafter.h Sun Oct  8 12:33:55 2017
@@ -1,5 +1,2 @@
-#define __CLC_BODY <clc/math/binary_decl.inc>
-#define __CLC_FUNCTION nextafter
+#define __CLC_BODY <clc/math/nextafter.inc>
 #include <clc/math/gentype.inc>
-#undef __CLC_FUNCTION
-#undef __CLC_BODY

Added: libclc/trunk/generic/include/clc/math/nextafter.inc
URL: 
http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/nextafter.inc?rev=315189&view=auto
==============================================================================
--- libclc/trunk/generic/include/clc/math/nextafter.inc (added)
+++ libclc/trunk/generic/include/clc/math/nextafter.inc Sun Oct  8 12:33:55 2017
@@ -0,0 +1 @@
+_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE nextafter(__CLC_GENTYPE a, __CLC_GENTYPE 
b);


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

Reply via email to