================
@@ -27,8 +28,11 @@ class RegisterType {
 
   RegisterTypeKind getKind() const { return m_kind; }
 
-  RegisterType(RegisterTypeKind kind, std::string id)
-      : m_kind(kind), m_id(std::move(id)) {}
+  RegisterType(RegisterTypeKind kind, std::string id);
+  RegisterType(const RegisterType &) = delete;
+  RegisterType &operator=(const RegisterType &) = delete;
+  RegisterType(RegisterType &&) = delete;
+  RegisterType &operator=(RegisterType &&) = delete;
----------------
DavidSpickett wrote:

Were these required for this PR or are you just adding them to make it clearer 
what's allowed?

They can stay here if so, just want to confirm.

https://github.com/llvm/llvm-project/pull/215874
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to