Skip to content

Commit 7a6ea99

Browse files
committed
[Runtime] Clean up the assembly around Tuple builtin conformances
forgot + 1
1 parent 7468375 commit 7a6ea99

File tree

4 files changed

+79
-269
lines changed

4 files changed

+79
-269
lines changed

include/swift/AST/ProtocolConformance.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,23 +1085,26 @@ class BuiltinProtocolConformance final : public RootProtocolConformance,
10851085
}
10861086

10871087
bool hasTypeWitness(AssociatedTypeDecl *assocType) const {
1088-
llvm_unreachable("builtin-conformances never have associated types");
1088+
llvm_unreachable("builtin-conformances currently don't have associated \
1089+
types");
10891090
}
10901091

10911092
/// Retrieve the type witness and type decl (if one exists)
10921093
/// for the given associated type.
10931094
TypeWitnessAndDecl
10941095
getTypeWitnessAndDecl(AssociatedTypeDecl *assocType,
10951096
SubstOptions options=None) const {
1096-
llvm_unreachable("builtin-conformances never have associated types");
1097+
llvm_unreachable("builtin-conformances currently don't have associated \
1098+
types");
10971099
}
10981100

10991101
/// Given that the requirement signature of the protocol directly states
11001102
/// that the given dependent type must conform to the given protocol,
11011103
/// return its associated conformance.
11021104
ProtocolConformanceRef
11031105
getAssociatedConformance(Type assocType, ProtocolDecl *protocol) const {
1104-
llvm_unreachable("builtin-conformances never have associated types");
1106+
llvm_unreachable("builtin-conformances currently don't have associated \
1107+
types");
11051108
}
11061109

11071110
/// Retrieve the witness corresponding to the given value requirement.
@@ -1112,7 +1115,8 @@ class BuiltinProtocolConformance final : public RootProtocolConformance,
11121115
/// Determine whether the witness for the given requirement
11131116
/// is either the default definition or was otherwise deduced.
11141117
bool usesDefaultDefinition(AssociatedTypeDecl *requirement) const {
1115-
llvm_unreachable("builtin-conformances never have associated types");
1118+
llvm_unreachable("builtin-conformances currently don't have associated \
1119+
types");
11161120
}
11171121

11181122
static bool classof(const ProtocolConformance *conformance) {

0 commit comments

Comments
 (0)