acos: 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: 317232
This commit is contained in:
Jan Vesely
2017-11-02 19:48:06 +00:00
parent d44fdc2b66
commit caca914218
2 changed files with 6 additions and 2 deletions

View File

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

View File

@@ -1 +0,0 @@
_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE acos(__CLC_GENTYPE x);