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/RegisterCoalescer.cpp | |
| 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/RegisterCoalescer.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/RegisterCoalescer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp index 43a841ad696..64e6da51e49 100644 --- a/llvm/lib/CodeGen/RegisterCoalescer.cpp +++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp @@ -111,7 +111,7 @@ namespace { void eliminateDeadDefs(); /// LiveRangeEdit callback. - void LRE_WillEraseInstruction(MachineInstr *MI); + void LRE_WillEraseInstruction(MachineInstr *MI) override; /// coalesceLocals - coalesce the LocalWorkList. void coalesceLocals(); @@ -187,15 +187,15 @@ namespace { initializeRegisterCoalescerPass(*PassRegistry::getPassRegistry()); } - virtual void getAnalysisUsage(AnalysisUsage &AU) const; + void getAnalysisUsage(AnalysisUsage &AU) const override; - virtual void releaseMemory(); + void releaseMemory() override; /// runOnMachineFunction - pass entry point - virtual bool runOnMachineFunction(MachineFunction&); + bool runOnMachineFunction(MachineFunction&) override; /// print - Implement the dump method. - virtual void print(raw_ostream &O, const Module* = 0) const; + void print(raw_ostream &O, const Module* = 0) const override; }; } /// end anonymous namespace |

