File tree Expand file tree Collapse file tree 3 files changed +0
-11
lines changed Expand file tree Collapse file tree 3 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -924,9 +924,6 @@ class ASTContext final {
924
924
CanGenericSignature getExistentialSignature (CanType existential,
925
925
ModuleDecl *mod);
926
926
927
- // / Whether our effective Swift version is in the Swift 3 family.
928
- bool isSwiftVersion3 () const { return LangOpts.isSwiftVersion3 (); }
929
-
930
927
// / Whether our effective Swift version is at least 'major'.
931
928
// /
932
929
// / This is usually the check you want; for example, when introducing
Original file line number Diff line number Diff line change @@ -358,11 +358,6 @@ namespace swift {
358
358
return CustomConditionalCompilationFlags;
359
359
}
360
360
361
- // / Whether our effective Swift version is in the Swift 3 family
362
- bool isSwiftVersion3 () const {
363
- return EffectiveLanguageVersion.isVersion3 ();
364
- }
365
-
366
361
// / Whether our effective Swift version is at least 'major'.
367
362
// /
368
363
// / This is usually the check you want; for example, when introducing
Original file line number Diff line number Diff line change @@ -107,9 +107,6 @@ class Version {
107
107
// / compiler to act as if it is version 3.1.
108
108
Optional<Version> getEffectiveLanguageVersion () const ;
109
109
110
- // / Whether this version is in the Swift 3 family
111
- bool isVersion3 () const { return !empty () && Components[0 ] == 3 ; }
112
-
113
110
// / Whether this version is greater than or equal to the given major version
114
111
// / number.
115
112
bool isVersionAtLeast (unsigned major, unsigned minor = 0 ) const {
You can’t perform that action at this time.
0 commit comments