Skip to content

Commit 094d126

Browse files
authored
[libclc] Remove downstream include guards. NFCI. (#19278)
These don't appear to be necessary, are incorrectly named, and incorrectly placed as they appear before the copyright. If they are in fact necessary it would be best done upstream instead.
1 parent 3a089a6 commit 094d126

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

libclc/opencl/include/clc/opencl/as_type.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#ifndef CLC_AS_TYPE
2-
#define CLC_AS_TYPE
31
//===----------------------------------------------------------------------===//
42
//
53
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
@@ -85,5 +83,3 @@
8583
#define as_half8(x) __builtin_astype(x, half8)
8684
#define as_half16(x) __builtin_astype(x, half16)
8785
#endif
88-
89-
#endif // CLC_AS_TYPE

libclc/opencl/include/clc/opencl/convert.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#ifndef CLC_CONVERSIONS
2-
#define CLC_CONVERSIONS
31
//===----------------------------------------------------------------------===//
42
//
53
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
@@ -101,5 +99,3 @@ _CLC_VECTOR_CONVERT_TO_SUFFIX()
10199
#undef _CLC_VECTOR_CONVERT_FROM1
102100
#undef _CLC_VECTOR_CONVERT_DECL
103101
#undef _CLC_CONVERT_DECL
104-
105-
#endif // CLC_CONVERSIONS

0 commit comments

Comments
 (0)