diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 |
commit | 71d5a2540a98c81f5bcaeb48805e0e2881f530ef (patch) | |
tree | 5343938942df402b49ec7300a1c25a2d4ccd5821 /include/llvm/MC/MCDisassembler/MCRelocationInfo.h | |
parent | 31bbf64f3a4974a2d6c8b3b27ad2f519caf74057 (diff) |
Diffstat (limited to 'include/llvm/MC/MCDisassembler/MCRelocationInfo.h')
-rw-r--r-- | include/llvm/MC/MCDisassembler/MCRelocationInfo.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/include/llvm/MC/MCDisassembler/MCRelocationInfo.h b/include/llvm/MC/MCDisassembler/MCRelocationInfo.h index 25334f755ee6..7836e886c303 100644 --- a/include/llvm/MC/MCDisassembler/MCRelocationInfo.h +++ b/include/llvm/MC/MCDisassembler/MCRelocationInfo.h @@ -1,4 +1,4 @@ -//==-- llvm/MC/MCRelocationInfo.h --------------------------------*- C++ -*-==// +//===- llvm/MC/MCRelocationInfo.h -------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -16,26 +16,20 @@ #ifndef LLVM_MC_MCDISASSEMBLER_MCRELOCATIONINFO_H #define LLVM_MC_MCDISASSEMBLER_MCRELOCATIONINFO_H -#include "llvm/Support/Compiler.h" - namespace llvm { -namespace object { -class RelocationRef; -} -class MCExpr; class MCContext; +class MCExpr; /// \brief Create MCExprs from relocations found in an object file. class MCRelocationInfo { - MCRelocationInfo(const MCRelocationInfo &) = delete; - void operator=(const MCRelocationInfo &) = delete; - protected: MCContext &Ctx; public: MCRelocationInfo(MCContext &Ctx); + MCRelocationInfo(const MCRelocationInfo &) = delete; + MCRelocationInfo &operator=(const MCRelocationInfo &) = delete; virtual ~MCRelocationInfo(); /// \brief Create an MCExpr for the target-specific \p VariantKind. @@ -46,6 +40,6 @@ public: unsigned VariantKind); }; -} +} // end namespace llvm -#endif +#endif // LLVM_MC_MCDISASSEMBLER_MCRELOCATIONINFO_H |