summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsOptionRecord.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-01-18 16:17:27 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-01-18 16:17:27 +0000
commit67c32a98315f785a9ec9d531c1f571a0196c7463 (patch)
tree4abb9cbeecc7901726dd0b4a37369596c852e9ef /lib/Target/Mips/MipsOptionRecord.h
parent9f61947910e6ab40de38e6b4034751ef1513200f (diff)
Diffstat (limited to 'lib/Target/Mips/MipsOptionRecord.h')
-rw-r--r--lib/Target/Mips/MipsOptionRecord.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/Target/Mips/MipsOptionRecord.h b/lib/Target/Mips/MipsOptionRecord.h
index c0abce3eaddb..f82544ae43ae 100644
--- a/lib/Target/Mips/MipsOptionRecord.h
+++ b/lib/Target/Mips/MipsOptionRecord.h
@@ -17,19 +17,16 @@
//
//===----------------------------------------------------------------------===//
-#ifndef MIPSOPTIONRECORD_H
-#define MIPSOPTIONRECORD_H
+#ifndef LLVM_LIB_TARGET_MIPS_MIPSOPTIONRECORD_H
+#define LLVM_LIB_TARGET_MIPS_MIPSOPTIONRECORD_H
-#include "MipsMCTargetDesc.h"
+#include "MCTargetDesc/MipsMCTargetDesc.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCRegisterInfo.h"
-using namespace llvm;
-
namespace llvm {
class MipsELFStreamer;
class MCSubtargetInfo;
-}
class MipsOptionRecord {
public:
@@ -58,7 +55,7 @@ public:
}
~MipsRegInfoRecord() {}
- void EmitMipsOptionRecord();
+ void EmitMipsOptionRecord() override;
void SetPhysRegUsed(unsigned Reg, const MCRegisterInfo *MCRegInfo);
private:
@@ -77,4 +74,5 @@ private:
uint32_t ri_cprmask[4];
int64_t ri_gp_value;
};
+} // namespace llvm
#endif