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 | 9f998de8918c1dd5a8b8ec564af00107859898e0 (patch) | |
tree | 236ce73d227b8a00770e5e6d5516f5d551be8d80 /lib/CodeGen/AggressiveAntiDepBreaker.h | |
parent | 177c1ef30d6f789e7e780651dae5cc0929d73066 (diff) | |
download | llvm-9f998de8918c1dd5a8b8ec564af00107859898e0.tar.gz llvm-9f998de8918c1dd5a8b8ec564af00107859898e0.tar.bz2 llvm-9f998de8918c1dd5a8b8ec564af00107859898e0.tar.xz |
[C++11] Add 'override' keyword to virtual methods that override their base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203220 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AggressiveAntiDepBreaker.h')
-rw-r--r-- | lib/CodeGen/AggressiveAntiDepBreaker.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/CodeGen/AggressiveAntiDepBreaker.h b/lib/CodeGen/AggressiveAntiDepBreaker.h index 6683630fba..29b6a10867 100644 --- a/lib/CodeGen/AggressiveAntiDepBreaker.h +++ b/lib/CodeGen/AggressiveAntiDepBreaker.h @@ -136,7 +136,7 @@ class RegisterClassInfo; ~AggressiveAntiDepBreaker(); /// 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 @@ -146,15 +146,16 @@ class RegisterClassInfo; 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: /// Keep track of a position in the allocation order for each regclass. |