Skip to content

Commit 23f6358

Browse files
authored
[clang][bytecode][NFC] Delete DynamicAllocator copy/move ctors (#139710)
They should never be needed.
1 parent 3f6ef4e commit 23f6358

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/AST/ByteCode/DynamicAllocator.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ class DynamicAllocator final {
5959

6060
public:
6161
DynamicAllocator() = default;
62+
DynamicAllocator(DynamicAllocator &) = delete;
63+
DynamicAllocator(DynamicAllocator &&) = delete;
6264
~DynamicAllocator();
6365

6466
void cleanup();

0 commit comments

Comments
 (0)