Files
clang-p2996/libclc/generic/lib/relational/binary_def.inc
Fraser Cormack 6ca50a2593 [libclc] Correct use of CLC macro on two definitions
_CLC_DECL is for declarations and _CLC_DEF for definitions, as the names
imply.

No change to any bitcode module.
2024-11-07 17:47:52 +00:00

8 lines
195 B
C++

#include <clc/utils.h>
#define __CLC_FUNCTION(x) __CLC_CONCAT(__clc_, x)
_CLC_OVERLOAD _CLC_DEF __CLC_INTN FUNCTION(__CLC_FLOATN a, __CLC_FLOATN b) {
return __CLC_FUNCTION(FUNCTION)(a, b);
}