We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fbd9836 + cd2e1f5 commit ee36335Copy full SHA for ee36335
include/swift/SIL/SILLocation.h
@@ -69,8 +69,6 @@ class SILLocation {
69
70
public:
71
enum LocationKind : unsigned {
72
- // FIXME: NoneKind is to be removed.
73
- NoneKind = 0,
74
RegularKind = 1,
75
ReturnKind = 2,
76
ImplicitReturnKind = 3,
lib/SIL/SILPrinter.cpp
@@ -760,9 +760,6 @@ class SILPrinter : public SILInstructionVisitor<SILPrinter> {
760
761
// Print the type of location.
762
switch (L.getKind()) {
763
- case SILLocation::NoneKind:
764
- assert(L.isAutoGenerated() && "This kind shouldn't be printed.");
765
- break;
766
case SILLocation::RegularKind:
767
break;
768
case SILLocation::ReturnKind:
0 commit comments