[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237196 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/PlaceSafepoints.cpp

index 5c3f61316250920bb615b4bc3f8c6a7918351e29..b5124b7adc4aef0ef3880c9135828aa53574dea1 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();