diff options
author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2017-02-08 22:19:56 +0000 |
---|---|---|
committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2017-02-08 22:19:56 +0000 |
commit | 41e7e34c498bf777182cfae8490a077c97b9db60 (patch) | |
tree | 48140d085a85ea807263b84f58f6647a01137d52 /llvm | |
parent | a62bc44f6746d0cbcf9c0e1d71c5c32d6a203372 (diff) | |
download | bcm5719-llvm-41e7e34c498bf777182cfae8490a077c97b9db60.tar.gz bcm5719-llvm-41e7e34c498bf777182cfae8490a077c97b9db60.zip |
[ARM] Fix some Include What You Use warnings; other minor fixes (NFC).
This is preparation to reduce MC headers dependencies.
llvm-svn: 294525
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp b/llvm/lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp index 482bcf90251..34c770440e1 100644 --- a/llvm/lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp +++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp @@ -1,4 +1,4 @@ -//===-- ARMMachORelocationInfo.cpp ----------------------------------------===// +//===- ARMMachORelocationInfo.cpp -----------------------------------------===// // // The LLVM Compiler Infrastructure // @@ -7,17 +7,17 @@ // //===----------------------------------------------------------------------===// -#include "MCTargetDesc/ARMMCTargetDesc.h" #include "ARMMCExpr.h" -#include "llvm-c/Disassembler.h" +#include "MCTargetDesc/ARMMCTargetDesc.h" #include "llvm/MC/MCContext.h" -#include "llvm/MC/MCExpr.h" #include "llvm/MC/MCDisassembler/MCRelocationInfo.h" +#include "llvm/MC/MCExpr.h" +#include "llvm-c/Disassembler.h" using namespace llvm; -using namespace object; namespace { + class ARMMachORelocationInfo : public MCRelocationInfo { public: ARMMachORelocationInfo(MCContext &Ctx) : MCRelocationInfo(Ctx) {} @@ -35,7 +35,8 @@ public: } } }; -} // End unnamed namespace + +} // end anonymous namespace /// createARMMachORelocationInfo - Construct an ARM Mach-O RelocationInfo. MCRelocationInfo *llvm::createARMMachORelocationInfo(MCContext &Ctx) { |