[C++11] Add 'override' keyword to virtual methods that override their base class.

llvm-svn: 202953
This commit is contained in:
Craig Topper
2014-03-05 09:10:37 +00:00
parent 6a927ecb7a
commit 3e4c697ca1
87 changed files with 342 additions and 300 deletions

View File

@@ -743,9 +743,9 @@ namespace {
LoopInfo *LI;
ScalarEvolution *SE;
virtual bool runOnFunction(Function &F);
bool runOnFunction(Function &F) override;
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
void getAnalysisUsage(AnalysisUsage &AU) const override {
// We need loop information to identify the loops...
AU.addRequired<DominatorTreeWrapperPass>();
AU.addPreserved<DominatorTreeWrapperPass>();
@@ -760,7 +760,7 @@ namespace {
}
/// verifyAnalysis() - Verify LoopSimplifyForm's guarantees.
void verifyAnalysis() const;
void verifyAnalysis() const override;
private:
bool ProcessLoop(Loop *L);