[PATCH] D151695: [MC] Disable default copy ctor and copy assignment operator for CodeViewContext
Bing Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 19:35:34 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd5001e4f0daa: [MC] Disable default copy ctor and copy assignment operator for CodeViewContext (authored by yubing).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151695/new/
https://reviews.llvm.org/D151695
Files:
llvm/include/llvm/MC/MCCodeView.h
Index: llvm/include/llvm/MC/MCCodeView.h
===================================================================
--- llvm/include/llvm/MC/MCCodeView.h
+++ llvm/include/llvm/MC/MCCodeView.h
@@ -146,6 +146,9 @@
CodeViewContext();
~CodeViewContext();
+ CodeViewContext &operator=(const CodeViewContext &other) = delete;
+ CodeViewContext(const CodeViewContext &other) = delete;
+
bool isValidFileNumber(unsigned FileNumber) const;
bool addFile(MCStreamer &OS, unsigned FileNumber, StringRef Filename,
ArrayRef<uint8_t> ChecksumBytes, uint8_t ChecksumKind);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151695.526874.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230531/52cf7c4e/attachment.bin>
More information about the llvm-commits
mailing list