forked from OSchip/llvm-project
cos: 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: 317242
This commit is contained in:
parent
50a3cccdbe
commit
f76371d948
|
@ -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
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE cos(__CLC_GENTYPE a);
|
Loading…
Reference in New Issue