summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-07 09:26:03 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-07 09:26:03 +0000
commit9f998de8918c1dd5a8b8ec564af00107859898e0 (patch)
tree236ce73d227b8a00770e5e6d5516f5d551be8d80 /include/llvm/CodeGen/LiveIntervalAnalysis.h
parent177c1ef30d6f789e7e780651dae5cc0929d73066 (diff)
downloadllvm-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 'include/llvm/CodeGen/LiveIntervalAnalysis.h')
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index 74e47413d8..54925938ec 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -255,14 +255,14 @@ namespace llvm {
VNInfo::Allocator& getVNInfoAllocator() { return VNInfoAllocator; }
- virtual void getAnalysisUsage(AnalysisUsage &AU) const;
- virtual void releaseMemory();
+ void getAnalysisUsage(AnalysisUsage &AU) const override;
+ 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;
/// intervalIsInOneMBB - If LI is confined to a single basic block, return
/// a pointer to that block. If LI is live in to or out of any block,