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 @@ -7809,20 +7809,6 @@ bool importer::isSpecialUIKitStructZeroProperty(const clang::NamedDecl *decl) {
7809
7809
return ident->isStr (" UIEdgeInsetsZero" ) || ident->isStr (" UIOffsetZero" );
7810
7810
}
7811
7811
7812
- // / Determine whether any of the parameters to the given function is of an
7813
- // / unsafe pointer type.
7814
- static bool hasAnyUnsafePointerParameters (FuncDecl *func) {
7815
- for (auto param : *func->getParameters ()) {
7816
- Type paramType =
7817
- param->toFunctionParam ().getPlainType ()->lookThroughAllOptionalTypes ();
7818
- if (paramType->getAnyPointerElementType ()) {
7819
- return true ;
7820
- }
7821
- }
7822
-
7823
- return false ;
7824
- }
7825
-
7826
7812
Type ClangImporter::Implementation::getMainActorType () {
7827
7813
if (MainActorType)
7828
7814
return *MainActorType;
You can’t perform that action at this time.
0 commit comments