hypot: Use binary_decl_tt.inc instead of custom inc file

Reviewer: Aaron Watry
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 356022
This commit is contained in:
Jan Vesely 2019-03-13 07:13:22 +00:00
parent 5b136ca125
commit 8985c9c212
2 changed files with 6 additions and 2 deletions

View File

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

View File

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