File tree Expand file tree Collapse file tree 3 files changed +0
-22
lines changed Expand file tree Collapse file tree 3 files changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -865,12 +865,6 @@ class ASTContext {
865
865
866
866
// / Whether our effective Swift version is in the Swift 3 family
867
867
bool isSwiftVersion3 () const { return LangOpts.isSwiftVersion3 (); }
868
-
869
- // / Whether our effective Swift version is in the Swift 4 family
870
- bool isSwiftVersion4 () const { return LangOpts.isSwiftVersion4 (); }
871
-
872
- // / Whether our effective Swift version is in the Swift 5 family
873
- bool isSwiftVersion5 () const { return LangOpts.isSwiftVersion5 (); }
874
868
875
869
private:
876
870
friend Decl;
Original file line number Diff line number Diff line change @@ -310,16 +310,6 @@ namespace swift {
310
310
bool isSwiftVersion3 () const {
311
311
return EffectiveLanguageVersion.isVersion3 ();
312
312
}
313
-
314
- // / Whether our effective Swift version is in the Swift 4 family
315
- bool isSwiftVersion4 () const {
316
- return EffectiveLanguageVersion.isVersion4 ();
317
- }
318
-
319
- // / Whether our effective Swift version is in the Swift 5 family
320
- bool isSwiftVersion5 () const {
321
- return EffectiveLanguageVersion.isVersion5 ();
322
- }
323
313
324
314
// / Returns true if the given platform condition argument represents
325
315
// / a supported target operating system.
Original file line number Diff line number Diff line change @@ -109,12 +109,6 @@ class Version {
109
109
110
110
// / Whether this version is in the Swift 3 family
111
111
bool isVersion3 () const { return !empty () && Components[0 ] == 3 ; }
112
-
113
- // / Whether this version is in the Swift 4 family
114
- bool isVersion4 () const { return !empty () && Components[0 ] == 4 ; }
115
-
116
- // / Whether this version is in the Swift 5 family
117
- bool isVersion5 () const { return !empty () && Components[0 ] == 5 ; }
118
112
119
113
// / Return this Version struct with minor and sub-minor components stripped
120
114
Version asMajorVersion () const ;
You can’t perform that action at this time.
0 commit comments