[llvm] Set ObjectFile's assignment operator to also be deleted like its copy constructor (PR #92942)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 11:23:35 PDT 2024


================
@@ -302,6 +302,7 @@ class ObjectFile : public SymbolicFile {
 public:
   ObjectFile() = delete;
   ObjectFile(const ObjectFile &other) = delete;
+  ObjectFile operator=(const ObjectFile &other) = delete;
----------------
MaskRay wrote:

`ObjectFile &opeartor=`

https://github.com/llvm/llvm-project/pull/92942


More information about the llvm-commits mailing list