repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang-tidy][use-internal-linkage] fix false positive for consteval function (#122141)
[llvm-project.git]
/
libclc
/
generic
/
lib
/
math
/
half_unary.inc
blob
aac668a6f0059ad26e22076cacfe0495dd741f63
1
#include <clc/utils.h>
2
3
#define __CLC_HALF_FUNC(x) __CLC_CONCAT(half_, x)
4
5
_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __CLC_HALF_FUNC(__CLC_FUNC)(__CLC_GENTYPE val) {
6
return __CLC_FUNC(val);
7
}
8
9
#undef __CLC_HALF_FUNC