Author: Timm Baeder Date: 2025-05-13T18:49:17+02:00 New Revision: 23f6358ec30918babde2bbf0966e80e689a9363d
URL: https://github.com/llvm/llvm-project/commit/23f6358ec30918babde2bbf0966e80e689a9363d DIFF: https://github.com/llvm/llvm-project/commit/23f6358ec30918babde2bbf0966e80e689a9363d.diff LOG: [clang][bytecode][NFC] Delete DynamicAllocator copy/move ctors (#139710) They should never be needed. Added: Modified: clang/lib/AST/ByteCode/DynamicAllocator.h Removed: ################################################################################ diff --git a/clang/lib/AST/ByteCode/DynamicAllocator.h b/clang/lib/AST/ByteCode/DynamicAllocator.h index 51829403d7322..cff09bf4f6a6e 100644 --- a/clang/lib/AST/ByteCode/DynamicAllocator.h +++ b/clang/lib/AST/ByteCode/DynamicAllocator.h @@ -59,6 +59,8 @@ class DynamicAllocator final { public: DynamicAllocator() = default; + DynamicAllocator(DynamicAllocator &) = delete; + DynamicAllocator(DynamicAllocator &&) = delete; ~DynamicAllocator(); void cleanup(); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits