diff --git a/llvm/include/llvm/MC/MCCodeView.h b/llvm/include/llvm/MC/MCCodeView.h index 3d15c4009e4382..3e997b1be3b8bd 100644 --- a/llvm/include/llvm/MC/MCCodeView.h +++ b/llvm/include/llvm/MC/MCCodeView.h @@ -146,6 +146,9 @@ class CodeViewContext { 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 ChecksumBytes, uint8_t ChecksumKind);