Skip to content

Commit

Permalink
[lldb] Set ObjectFile's assignment operator to also be deleted like i…
Browse files Browse the repository at this point in the history
…ts copy constructor (#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.
  • Loading branch information
fsfod committed May 21, 2024
1 parent 5442e15 commit 2e7365e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/include/llvm/Object/ObjectFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ 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);
Expand Down

0 comments on commit 2e7365e

Please sign in to comment.