File tree Expand file tree Collapse file tree 5 files changed +14
-0
lines changed Expand file tree Collapse file tree 5 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -428,6 +428,10 @@ class LLVM_ABI MCAsmInfo {
428428 explicit MCAsmInfo ();
429429 virtual ~MCAsmInfo ();
430430
431+ // Explicitly non-copyable.
432+ MCAsmInfo (MCAsmInfo const &) = delete ;
433+ MCAsmInfo& operator =(MCAsmInfo const &) = delete ;
434+
431435 // / Get the code pointer size in bytes.
432436 unsigned getCodePointerSize () const { return CodePointerSize; }
433437
Original file line number Diff line number Diff line change 99#ifndef LLVM_MC_MCCODEEMITTER_H
1010#define LLVM_MC_MCCODEEMITTER_H
1111
12+ #include " llvm/Support/Compiler.h"
13+
1214namespace llvm {
1315
1416class MCFixup ;
Original file line number Diff line number Diff line change 1515#ifndef LLVM_MC_MCDISASSEMBLER_MCRELOCATIONINFO_H
1616#define LLVM_MC_MCDISASSEMBLER_MCRELOCATIONINFO_H
1717
18+ #include " llvm/Support/Compiler.h"
19+
1820namespace llvm {
1921
2022class MCContext ;
Original file line number Diff line number Diff line change 1515#ifndef LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H
1616#define LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H
1717
18+ #include " llvm/Support/Compiler.h"
19+
1820namespace llvm {
1921namespace mca {
2022
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ class LLVM_ABI IncrementalSourceMgr : public SourceMgr {
4848public:
4949 IncrementalSourceMgr () = default ;
5050
51+ // Explicitly non-copyable.
52+ IncrementalSourceMgr& operator =(const IncrementalSourceMgr&) = delete ;
53+ IncrementalSourceMgr (const IncrementalSourceMgr&) = delete ;
54+
5155 void clear ();
5256
5357 // / Set a callback that is invoked when a mca::Instruction is
You can’t perform that action at this time.
0 commit comments