Skip to content

Commit 636e68e

Browse files
frasercrmckIanWood1
authored andcommitted
[libclc] Clean up unnecessary #undef __CLC_BODYs (llvm#137959)
This macro is automatically undefined by the various gentype-like helpers.
1 parent a4733c6 commit 636e68e

File tree

224 files changed

+0
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+0
-237
lines changed

libclc/clc/include/clc/common/clc_degrees.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <clc/math/gentype.inc>
1616

17-
#undef __CLC_BODY
1817
#undef __CLC_FUNCTION
1918

2019
#endif // __CLC_COMMON_CLC_DEGREES_H__

libclc/clc/include/clc/common/clc_radians.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <clc/math/gentype.inc>
1616

17-
#undef __CLC_BODY
1817
#undef __CLC_FUNCTION
1918

2019
#endif // __CLC_COMMON_CLC_RADIANS_H__

libclc/clc/include/clc/common/clc_sign.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <clc/math/gentype.inc>
1616

17-
#undef __CLC_BODY
1817
#undef __CLC_FUNCTION
1918

2019
#endif // __CLC_COMMON_CLC_SIGN_H__

libclc/clc/include/clc/common/clc_smoothstep.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@
1414

1515
#define __CLC_BODY <clc/common/clc_smoothstep.inc>
1616
#include <clc/math/gentype.inc>
17-
#undef __CLC_BODY
1817

1918
#endif // __CLC_COMMON_CLC_SMOOTHSTEP_H__

libclc/clc/include/clc/integer/clc_add_sat.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <clc/integer/gentype.inc>
1616

17-
#undef __CLC_BODY
1817
#undef __CLC_FUNCTION
1918

2019
#endif // __CLC_INTEGER_CLC_ADD_SAT_H__

libclc/clc/include/clc/integer/clc_clz.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <clc/integer/gentype.inc>
1616

17-
#undef __CLC_BODY
1817
#undef __CLC_FUNCTION
1918

2019
#endif // __CLC_INTEGER_CLC_CLZ_H__

libclc/clc/include/clc/integer/clc_ctz.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <clc/integer/gentype.inc>
1616

17-
#undef __CLC_BODY
1817
#undef __CLC_FUNCTION
1918

2019
#endif // __CLC_INTEGER_CLC_CTZ_H__

libclc/clc/include/clc/integer/clc_hadd.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <clc/integer/gentype.inc>
1616

17-
#undef __CLC_BODY
1817
#undef __CLC_FUNCTION
1918

2019
#endif // __CLC_INTEGER_CLC_HADD_H__

libclc/clc/include/clc/integer/clc_mad24.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <clc/integer/gentype24.inc>
1616

17-
#undef __CLC_BODY
1817
#undef __CLC_FUNCTION
1918

2019
#endif // __CLC_INTEGER_CLC_MAD24_H__

libclc/clc/include/clc/integer/clc_mad_sat.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <clc/integer/gentype.inc>
1616

17-
#undef __CLC_BODY
1817
#undef __CLC_FUNCTION
1918

2019
#endif // __CLC_INTEGER_CLC_MAD_SAT_H__

0 commit comments

Comments
 (0)