math/nextafter: Use custom declaration inc file

Reviewer: Jeroen Ketema
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 315189
This commit is contained in:
Jan Vesely 2017-10-08 19:33:55 +00:00
parent 72be1cc0be
commit 6a5c8ddb3a
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -0,0 +1 @@
_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE nextafter(__CLC_GENTYPE a, __CLC_GENTYPE b);