Skip to content

Commit edce501

Browse files
committed
[gardening] Eliminate unneeded 'public' from inheritance declaration of a struct.
structs always inherit publicly.
1 parent 529eec3 commit edce501

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/swift/SIL/SILBasicBlock.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,9 @@ namespace llvm {
317317
//===----------------------------------------------------------------------===//
318318

319319
template <>
320-
struct ilist_traits<::swift::SILBasicBlock> :
321-
public ilist_default_traits<::swift::SILBasicBlock> {
320+
struct ilist_traits<::swift::SILBasicBlock>
321+
: ilist_default_traits<::swift::SILBasicBlock> {
322+
322323
using SelfTy = ilist_traits<::swift::SILBasicBlock>;
323324
using SILBasicBlock = ::swift::SILBasicBlock;
324325
using SILFunction = ::swift::SILFunction;

0 commit comments

Comments
 (0)