Skip to content

Commit 2e7365e

Browse files
authored
[lldb] Set ObjectFile's assignment operator to also be deleted like its copy constructor (llvm#92942)
This will also fix a warning when ObjectFile is dllexport'ed on Windows for my GSOC project for adding support Clang plugins on windows with @vgvassilev and @compnerd.
1 parent 5442e15 commit 2e7365e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/Object/ObjectFile.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ class ObjectFile : public SymbolicFile {
302302
public:
303303
ObjectFile() = delete;
304304
ObjectFile(const ObjectFile &other) = delete;
305+
ObjectFile &opeartor = (const ObjectFile &other) = delete;
305306

306307
uint64_t getCommonSymbolSize(DataRefImpl Symb) const {
307308
Expected<uint32_t> SymbolFlagsOrErr = getSymbolFlags(Symb);

0 commit comments

Comments
 (0)