Skip to content

Commit 36676c8

Browse files
authored
Merge pull request #64658 from drodriguez/extra-semi
[NFC] Remove extra comma inside the macros.
2 parents f6197ca + eabafdf commit 36676c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/swift/SIL/SILNode.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,16 @@ class alignas(8) SILNode :
163163

164164
/// Adds a shared field for instruction class `I`.
165165
#define SHARED_FIELD(I, ...) \
166-
class { friend class I; __VA_ARGS__; } I;
166+
class { friend class I; __VA_ARGS__; } I
167167

168168
/// Adds a shared field for a template instruction class `I` which has a single
169169
/// template argument of type `T`.
170170
#define SHARED_TEMPLATE_FIELD(T, I, ...) \
171-
class { template <T> friend class I; __VA_ARGS__; } I;
172-
171+
class { template <T> friend class I; __VA_ARGS__; } I
172+
173173
/// Special case for `InstructionBaseWithTrailingOperands`.
174174
#define SHARED_TEMPLATE4_FIELD(T1, T2, T3, T4, I, ...) \
175-
class { template <T1, T2, T3, T4> friend class I; __VA_ARGS__; } I;
175+
class { template <T1, T2, T3, T4> friend class I; __VA_ARGS__; } I
176176

177177
// clang-format off
178178
union SharedUInt8Fields {

0 commit comments

Comments
 (0)