summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsOptionRecord.h
diff options
context:
space:
mode:
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