diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-03-07 09:26:03 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-03-07 09:26:03 +0000 |
commit | 4584cd54e3cd7025e609ccdf0ee6ded81233c0ce (patch) | |
tree | 0551795d002894459b99709538ef6aea0e4c0b42 /llvm/lib/CodeGen/CriticalAntiDepBreaker.h | |
parent | d2bbdcfc0d2340904141a3dbca502a3cf4e2e416 (diff) | |
download | bcm5719-llvm-4584cd54e3cd7025e609ccdf0ee6ded81233c0ce.tar.gz bcm5719-llvm-4584cd54e3cd7025e609ccdf0ee6ded81233c0ce.zip |
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 203220
Diffstat (limited to 'llvm/lib/CodeGen/CriticalAntiDepBreaker.h')
-rw-r--r-- | llvm/lib/CodeGen/CriticalAntiDepBreaker.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/CriticalAntiDepBreaker.h b/llvm/lib/CodeGen/CriticalAntiDepBreaker.h index 565d20bac02..1949a48d98f 100644 --- a/llvm/lib/CodeGen/CriticalAntiDepBreaker.h +++ b/llvm/lib/CodeGen/CriticalAntiDepBreaker.h @@ -72,7 +72,7 @@ class TargetRegisterInfo; ~CriticalAntiDepBreaker(); /// Start - Initialize anti-dep breaking for a new basic block. - void StartBlock(MachineBasicBlock *BB); + void StartBlock(MachineBasicBlock *BB) override; /// BreakAntiDependencies - Identifiy anti-dependencies along the critical /// path @@ -82,15 +82,16 @@ class TargetRegisterInfo; MachineBasicBlock::iterator Begin, MachineBasicBlock::iterator End, unsigned InsertPosIndex, - DbgValueVector &DbgValues); + DbgValueVector &DbgValues) override; /// Observe - Update liveness information to account for the current /// instruction, which will not be scheduled. /// - void Observe(MachineInstr *MI, unsigned Count, unsigned InsertPosIndex); + void Observe(MachineInstr *MI, unsigned Count, + unsigned InsertPosIndex) override; /// Finish - Finish anti-dep breaking for a basic block. - void FinishBlock(); + void FinishBlock() override; private: void PrescanInstruction(MachineInstr *MI); |