@@ -124,7 +124,7 @@ public llvm::ilist_node<SILBasicBlock>, public SILAllocated<SILBasicBlock> {
124
124
}
125
125
126
126
const TermInst *getTerminator () const {
127
- return const_cast <SILBasicBlock*>(this )->getTerminator ();
127
+ return const_cast <SILBasicBlock *>(this )->getTerminator ();
128
128
}
129
129
130
130
// / \brief Splits a basic block into two at the specified instruction.
@@ -271,7 +271,7 @@ public llvm::ilist_node<SILBasicBlock>, public SILAllocated<SILBasicBlock> {
271
271
}
272
272
273
273
const SILBasicBlock *getSinglePredecessor () const {
274
- return const_cast <SILBasicBlock*>(this )->getSinglePredecessor ();
274
+ return const_cast <SILBasicBlock *>(this )->getSinglePredecessor ();
275
275
}
276
276
277
277
// / Pretty-print the SILBasicBlock.
@@ -319,7 +319,6 @@ namespace llvm {
319
319
template <>
320
320
struct ilist_traits <::swift::SILBasicBlock>
321
321
: ilist_default_traits<::swift::SILBasicBlock> {
322
-
323
322
using SelfTy = ilist_traits<::swift::SILBasicBlock>;
324
323
using SILBasicBlock = ::swift::SILBasicBlock;
325
324
using SILFunction = ::swift::SILFunction;
@@ -332,19 +331,17 @@ struct ilist_traits<::swift::SILBasicBlock>
332
331
SILFunction *Parent;
333
332
334
333
public:
335
-
336
334
SILBasicBlock *createSentinel () const {
337
- return static_cast <SILBasicBlock*>(&Sentinel);
335
+ return static_cast <SILBasicBlock *>(&Sentinel);
338
336
}
339
337
void destroySentinel (SILBasicBlock *) const {}
340
338
341
339
SILBasicBlock *provideInitialHead () const { return createSentinel (); }
342
- SILBasicBlock *ensureHead (SILBasicBlock*) const { return createSentinel (); }
343
- static void noteHead (SILBasicBlock*, SILBasicBlock*) {}
340
+ SILBasicBlock *ensureHead (SILBasicBlock *) const { return createSentinel (); }
341
+ static void noteHead (SILBasicBlock *, SILBasicBlock *) {}
344
342
static void deleteNode (SILBasicBlock *BB) { BB->~SILBasicBlock (); }
345
343
346
- void addNodeToList (SILBasicBlock *BB) {
347
- }
344
+ void addNodeToList (SILBasicBlock *BB) {}
348
345
349
346
void transferNodesFromList (ilist_traits<SILBasicBlock> &SrcTraits,
350
347
ilist_iterator<SILBasicBlock> First,
0 commit comments