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

via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 16:06:49 PDT 2024


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

This should probably be `&operator` and not `&opeartor`. I think this typo is causing nearly every buildbot to fail.

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


More information about the llvm-commits mailing list