Merge pull request #76250 from ktoso/wip-experimental-isolated-deinit

This commit is contained in:
Konrad `ktoso` Malawski
2024-10-03 17:19:10 +09:00
committed by GitHub
88 changed files with 4172 additions and 504 deletions

View File

@@ -1120,6 +1120,9 @@ namespace Lowering {
/// Determine whether the given class will be allocated/deallocated using the
/// Objective-C runtime, i.e., +alloc and -dealloc.
LLVM_LIBRARY_VISIBILITY bool usesObjCAllocator(ClassDecl *theClass);
/// Determine if isolating destructor is needed.
LLVM_LIBRARY_VISIBILITY bool needsIsolatingDestructor(DestructorDecl *dd);
} // namespace Lowering
} // namespace swift