Skip to content

Commit 6ca50a2

Browse files
committedNov 7, 2024·
[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.
1 parent 9a43ae5 commit 6ca50a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎libclc/generic/lib/relational/binary_def.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
#define __CLC_FUNCTION(x) __CLC_CONCAT(__clc_, x)
44

5-
_CLC_OVERLOAD _CLC_DECL __CLC_INTN FUNCTION(__CLC_FLOATN a, __CLC_FLOATN b) {
5+
_CLC_OVERLOAD _CLC_DEF __CLC_INTN FUNCTION(__CLC_FLOATN a, __CLC_FLOATN b) {
66
return __CLC_FUNCTION(FUNCTION)(a, b);
77
}

‎libclc/generic/lib/relational/unary_def.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
#define __CLC_FUNCTION(x) __CLC_CONCAT(__clc_, x)
44

5-
_CLC_OVERLOAD _CLC_DECL __CLC_INTN FUNCTION(__CLC_FLOATN a) {
5+
_CLC_OVERLOAD _CLC_DEF __CLC_INTN FUNCTION(__CLC_FLOATN a) {
66
return __CLC_FUNCTION(FUNCTION)(a);
77
}

0 commit comments

Comments
 (0)
Please sign in to comment.