File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -7814,20 +7814,6 @@ bool importer::isSpecialUIKitStructZeroProperty(const clang::NamedDecl *decl) {
7814
7814
return ident->isStr (" UIEdgeInsetsZero" ) || ident->isStr (" UIOffsetZero" );
7815
7815
}
7816
7816
7817
- // / Determine whether any of the parameters to the given function is of an
7818
- // / unsafe pointer type.
7819
- static bool hasAnyUnsafePointerParameters (FuncDecl *func) {
7820
- for (auto param : *func->getParameters ()) {
7821
- Type paramType =
7822
- param->toFunctionParam ().getPlainType ()->lookThroughAllOptionalTypes ();
7823
- if (paramType->getAnyPointerElementType ()) {
7824
- return true ;
7825
- }
7826
- }
7827
-
7828
- return false ;
7829
- }
7830
-
7831
7817
Type ClangImporter::Implementation::getMainActorType () {
7832
7818
if (MainActorType)
7833
7819
return *MainActorType;
You can’t perform that action at this time.
0 commit comments