[PlaceSafepoints] Add missing "override" to PlaceBackedgeSafepointsImpl::runOnFunction
authorJustin Bogner <mail@justinbogner.com>
Tue, 12 May 2015 21:49:47 +0000 (21:49 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 12 May 2015 21:49:47 +0000 (21:49 +0000)
Pointed out by -Winconsistent-missing-override.

llvm-svn: 237196

llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp

index 5c3f613..b5124b7 100644 (file)
@@ -139,8 +139,8 @@ struct PlaceBackedgeSafepointsImpl : public FunctionPass {
       runOnLoopAndSubLoops(*I);
     runOnLoop(L);
   }
-  
-  bool runOnFunction(Function &F) {
+
+  bool runOnFunction(Function &F) override {
     SE = &getAnalysis<ScalarEvolution>();
     DT = &getAnalysis<DominatorTreeWrapperPass>().getDomTree();
     LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();