sinpi: Use unary_decl instead of custom inc file

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-By: Aaron Watry <awatry@gmail.com>
llvm-svn: 317256
This commit is contained in:
Jan Vesely 2017-11-02 19:48:53 +00:00
parent 4708b10878
commit e3802356e2
2 changed files with 5 additions and 2 deletions
libclc/generic/include/clc/math

@ -1,3 +1,7 @@
#define __CLC_BODY <clc/math/sinpi.inc>
#define __CLC_BODY <clc/math/unary_decl.inc>
#define __CLC_FUNCTION sinpi
#include <clc/math/gentype.inc>
#undef __CLC_BODY
#undef __CLC_FUNCTION

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