diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-03-05 07:30:04 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-03-05 07:30:04 +0000 |
commit | c37e6c073436be77e90ef640c0e6627200ba19f7 (patch) | |
tree | ebcd38a39f18ed144d0818a795f1b2a34925aebb /include/llvm/Analysis/LoopInfo.h | |
parent | a6ace00520a9df552ecfec6557f830ef805bea37 (diff) | |
download | llvm-c37e6c073436be77e90ef640c0e6627200ba19f7.tar.gz llvm-c37e6c073436be77e90ef640c0e6627200ba19f7.tar.bz2 llvm-c37e6c073436be77e90ef640c0e6627200ba19f7.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@202945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/LoopInfo.h')
-rw-r--r-- | include/llvm/Analysis/LoopInfo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h index 52c832f7ea..aeeea3cea4 100644 --- a/include/llvm/Analysis/LoopInfo.h +++ b/include/llvm/Analysis/LoopInfo.h @@ -654,15 +654,15 @@ public: /// runOnFunction - Calculate the natural loop information. /// - virtual bool runOnFunction(Function &F); + bool runOnFunction(Function &F) override; - virtual void verifyAnalysis() const; + void verifyAnalysis() const override; - virtual void releaseMemory() { LI.releaseMemory(); } + void releaseMemory() override { LI.releaseMemory(); } - virtual void print(raw_ostream &O, const Module* M = 0) const; + void print(raw_ostream &O, const Module* M = 0) const override; - virtual void getAnalysisUsage(AnalysisUsage &AU) const; + void getAnalysisUsage(AnalysisUsage &AU) const override; /// removeLoop - This removes the specified top-level loop from this loop info /// object. The loop is not deleted, as it will presumably be inserted into |