Skip to content

Commit a776234

Browse files
committed
- argument
1 parent 7905a9a commit a776234

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/swift/SIL/SILBridgingUtils.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ inline SILNode *castToSILNode(BridgedNode node) {
2929
return static_cast<SILNode *>(node.obj);
3030
}
3131

32-
template <class A = SILArgument> A *castToArgument(BridgedArgument argument) {
33-
return cast<A>(static_cast<SILArgument *>(argument.obj));
34-
}
35-
3632
ArrayRef<SILValue> getSILValues(BridgedValueArray values,
3733
SmallVectorImpl<SILValue> &storage);
3834

0 commit comments

Comments
 (0)