[llvm] Revert "Set ObjectFile's assignment operator to also be deleted like its copy constructor" (PR #92973)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 21 16:17:11 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-binary-utilities
Author: Thomas Fransham (fsfod)
<details>
<summary>Changes</summary>
Reverts llvm/llvm-project#<!-- -->92942
---
Full diff: https://github.com/llvm/llvm-project/pull/92973.diff
1 Files Affected:
- (modified) llvm/include/llvm/Object/ObjectFile.h (-1)
``````````diff
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);
``````````
</details>
https://github.com/llvm/llvm-project/pull/92973
More information about the llvm-commits
mailing list