diff options
Diffstat (limited to 'include/llvm/MC/MCCodeEmitter.h')
-rw-r--r-- | include/llvm/MC/MCCodeEmitter.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/include/llvm/MC/MCCodeEmitter.h b/include/llvm/MC/MCCodeEmitter.h index b6c19150c12a5..f1b0b784a2df6 100644 --- a/include/llvm/MC/MCCodeEmitter.h +++ b/include/llvm/MC/MCCodeEmitter.h @@ -1,4 +1,4 @@ -//===-- llvm/MC/MCCodeEmitter.h - Instruction Encoding ----------*- C++ -*-===// +//===- llvm/MC/MCCodeEmitter.h - Instruction Encoding -----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -10,9 +10,8 @@ #ifndef LLVM_MC_MCCODEEMITTER_H #define LLVM_MC_MCCODEEMITTER_H -#include "llvm/Support/Compiler.h" - namespace llvm { + class MCFixup; class MCInst; class MCSubtargetInfo; @@ -21,14 +20,12 @@ template<typename T> class SmallVectorImpl; /// MCCodeEmitter - Generic instruction encoding interface. class MCCodeEmitter { -private: - MCCodeEmitter(const MCCodeEmitter &) = delete; - void operator=(const MCCodeEmitter &) = delete; - protected: // Can only create subclasses. MCCodeEmitter(); public: + MCCodeEmitter(const MCCodeEmitter &) = delete; + MCCodeEmitter &operator=(const MCCodeEmitter &) = delete; virtual ~MCCodeEmitter(); /// Lifetime management @@ -41,6 +38,6 @@ public: const MCSubtargetInfo &STI) const = 0; }; -} // End llvm namespace +} // end namespace llvm -#endif +#endif // LLVM_MC_MCCODEEMITTER_H |