Skip to content

Commit 137a160

Browse files
committed
[SSADestroyHoisting] Deleted copy/assign ctors.
For the DeinitBarriers helper class.
1 parent e91b08b commit 137a160

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/SILOptimizer/Transforms/SSADestroyHoisting.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ class DeinitBarriers {
206206
}
207207

208208
private:
209+
DeinitBarriers(DeinitBarriers const &) = delete;
210+
DeinitBarriers &operator=(DeinitBarriers const &) = delete;
211+
209212
// Conforms to BackwardReachability::BlockReachability
210213
class DestroyReachability {
211214
const KnownStorageUses &knownUses;

0 commit comments

Comments
 (0)