[llvm] 7630775 - Revert "Set ObjectFile's assignment operator to also be deleted like its copy constructor" (#92973)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 16:32:25 PDT 2024


Author: Thomas Fransham
Date: 2024-05-21T19:32:22-04:00
New Revision: 7630775e3ad34c426cde91732e8e7816c2a1ef5a

URL: https://github.com/llvm/llvm-project/commit/7630775e3ad34c426cde91732e8e7816c2a1ef5a
DIFF: https://github.com/llvm/llvm-project/commit/7630775e3ad34c426cde91732e8e7816c2a1ef5a.diff

LOG: Revert "Set ObjectFile's assignment operator to also be deleted like its copy constructor" (#92973)

Reverts llvm/llvm-project#92942

Added: 
    

Modified: 
    llvm/include/llvm/Object/ObjectFile.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Object/ObjectFile.h b/llvm/include/llvm/Object/ObjectFile.h
index a50766ccaeb89..8c868c7643edc 100644
--- a/llvm/include/llvm/Object/ObjectFile.h
+++ b/llvm/include/llvm/Object/ObjectFile.h
@@ -302,7 +302,6 @@ class ObjectFile : public SymbolicFile {
 public:
   ObjectFile() = delete;
   ObjectFile(const ObjectFile &other) = delete;
-  ObjectFile &opeartor = (const ObjectFile &other) = delete;
 
   uint64_t getCommonSymbolSize(DataRefImpl Symb) const {
     Expected<uint32_t> SymbolFlagsOrErr = getSymbolFlags(Symb);


        


More information about the llvm-commits mailing list