sqrt: 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: 317257
This commit is contained in:
Jan Vesely
2017-11-02 19:48:55 +00:00
parent e3802356e2
commit b0fab2696a
2 changed files with 5 additions and 2 deletions

View File

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

View File

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