diff options
| author | Jan Vesely <jan.vesely@rutgers.edu> | 2017-11-02 19:49:00 +0000 |
|---|---|---|
| committer | Jan Vesely <jan.vesely@rutgers.edu> | 2017-11-02 19:49:00 +0000 |
| commit | 39ef29353353a0e5fbe3ca9db8a9418dd34974a0 (patch) | |
| tree | 49ca7b513d086c4ccdb8d5f9524b69f491fd6bea | |
| parent | 91d7b92d8ae03db7ff8f58d7ca5d7c64427f03b8 (diff) | |
| download | bcm5719-llvm-39ef29353353a0e5fbe3ca9db8a9418dd34974a0.tar.gz bcm5719-llvm-39ef29353353a0e5fbe3ca9db8a9418dd34974a0.zip | |
tgamma: 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: 317260
| -rw-r--r-- | libclc/generic/include/clc/math/tgamma.h | 6 | ||||
| -rw-r--r-- | libclc/generic/include/clc/math/tgamma.inc | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/libclc/generic/include/clc/math/tgamma.h b/libclc/generic/include/clc/math/tgamma.h index a041d3219ac..e17e0ffc101 100644 --- a/libclc/generic/include/clc/math/tgamma.h +++ b/libclc/generic/include/clc/math/tgamma.h @@ -1,3 +1,7 @@ -#define __CLC_BODY <clc/math/tgamma.inc> +#define __CLC_BODY <clc/math/unary_decl.inc> +#define __CLC_FUNCTION tgamma + #include <clc/math/gentype.inc> + #undef __CLC_BODY +#undef __CLC_FUNCTION diff --git a/libclc/generic/include/clc/math/tgamma.inc b/libclc/generic/include/clc/math/tgamma.inc deleted file mode 100644 index 9f67fe457fb..00000000000 --- a/libclc/generic/include/clc/math/tgamma.inc +++ /dev/null @@ -1 +0,0 @@ -_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE tgamma(__CLC_GENTYPE a); |

