native_log10: 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: 317251
This commit is contained in:
Jan Vesely 2017-11-02 19:48:44 +00:00
parent 139185dfc7
commit d6ad07687d
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,9 @@
#define __CLC_BODY <clc/math/native_log10.inc>
#define __CLC_BODY <clc/math/unary_decl.inc>
#define __CLC_FUNCTION native_log10
#define __FLOAT_ONLY
#include <clc/math/gentype.inc>
#undef __CLC_BODY
#undef __FLOAT_ONLY
#undef __CLC_BODY
#undef __CLC_FUNCTION

View File

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