summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreRegisterInfo.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-29 07:57:00 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-29 07:57:00 +0000
commitd4657fb0c12de5fb209880a0e78c7a96025674fe (patch)
tree4fadaef031bad5fdf5e1d1a4a576d3ab05915479 /lib/Target/XCore/XCoreRegisterInfo.h
parent5bbe6121c3becd127b30a463b52b0d65f1df5baa (diff)
downloadllvm-d4657fb0c12de5fb209880a0e78c7a96025674fe.tar.gz
llvm-d4657fb0c12de5fb209880a0e78c7a96025674fe.tar.bz2
llvm-d4657fb0c12de5fb209880a0e78c7a96025674fe.tar.xz
[C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. XCore edition
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreRegisterInfo.h')
-rw-r--r--lib/Target/XCore/XCoreRegisterInfo.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/Target/XCore/XCoreRegisterInfo.h b/lib/Target/XCore/XCoreRegisterInfo.h
index ff9b95697a..aa617a0106 100644
--- a/lib/Target/XCore/XCoreRegisterInfo.h
+++ b/lib/Target/XCore/XCoreRegisterInfo.h
@@ -29,22 +29,23 @@ public:
/// Code Generation virtual methods...
- const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF =nullptr) const;
+ const MCPhysReg *
+ getCalleeSavedRegs(const MachineFunction *MF =nullptr) const override;
- BitVector getReservedRegs(const MachineFunction &MF) const;
+ BitVector getReservedRegs(const MachineFunction &MF) const override;
- bool requiresRegisterScavenging(const MachineFunction &MF) const;
+ bool requiresRegisterScavenging(const MachineFunction &MF) const override;
- bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const;
+ bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override;
- bool useFPForScavengingIndex(const MachineFunction &MF) const;
+ bool useFPForScavengingIndex(const MachineFunction &MF) const override;
void eliminateFrameIndex(MachineBasicBlock::iterator II,
int SPAdj, unsigned FIOperandNum,
- RegScavenger *RS = nullptr) const;
+ RegScavenger *RS = nullptr) const override;
// Debug information queries.
- unsigned getFrameRegister(const MachineFunction &MF) const;
+ unsigned getFrameRegister(const MachineFunction &MF) const override;
//! Return whether to emit frame moves
static bool needsFrameMoves(const MachineFunction &MF);