File tree Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -3043,17 +3043,6 @@ static void suppressingFeatureSpecializeAttributeWithAvailability(
30433043 action ();
30443044}
30453045
3046- static void
3047- suppressingFeatureLexicalLifetimes (PrintOptions &options,
3048- llvm::function_ref<void ()> action) {
3049- unsigned originalExcludeAttrCount = options.ExcludeAttrList .size ();
3050- options.ExcludeAttrList .push_back (DeclAttrKind::EagerMove);
3051- options.ExcludeAttrList .push_back (DeclAttrKind::NoEagerMove);
3052- options.ExcludeAttrList .push_back (DeclAttrKind::LexicalLifetimes);
3053- action ();
3054- options.ExcludeAttrList .resize (originalExcludeAttrCount);
3055- }
3056-
30573046static void suppressingFeatureRetroactiveAttribute (
30583047 PrintOptions &options,
30593048 llvm::function_ref<void ()> action) {
Original file line number Diff line number Diff line change @@ -138,20 +138,6 @@ static bool usesFeatureSpecializeAttributeWithAvailability(Decl *decl) {
138138 return false ;
139139}
140140
141- static bool hasParameterPacks (Decl *decl) {
142- if (auto genericContext = decl->getAsGenericContext ()) {
143- auto sig = genericContext->getGenericSignature ();
144- if (llvm::any_of (sig.getGenericParams (),
145- [&](const GenericTypeParamType *GP) {
146- return GP->isParameterPack ();
147- })) {
148- return true ;
149- }
150- }
151-
152- return false ;
153- }
154-
155141static bool usesFeatureRetroactiveAttribute (Decl *decl) {
156142 auto ext = dyn_cast<ExtensionDecl>(decl);
157143 if (!ext)
You can’t perform that action at this time.
0 commit comments