From: Justin Bogner Date: Tue, 12 May 2015 21:49:47 +0000 (+0000) Subject: [PlaceSafepoints] Add missing "override" to PlaceBackedgeSafepointsImpl::runOnFunction X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=00730a77f1986db0bd308309ff7a04b85646dc51;p=oota-llvm.git [PlaceSafepoints] Add missing "override" to PlaceBackedgeSafepointsImpl::runOnFunction Pointed out by -Winconsistent-missing-override. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237196 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/PlaceSafepoints.cpp b/lib/Transforms/Scalar/PlaceSafepoints.cpp index 5c3f6131625..b5124b7adc4 100644 --- a/lib/Transforms/Scalar/PlaceSafepoints.cpp +++ b/lib/Transforms/Scalar/PlaceSafepoints.cpp @@ -139,8 +139,8 @@ struct PlaceBackedgeSafepointsImpl : public FunctionPass { runOnLoopAndSubLoops(*I); runOnLoop(L); } - - bool runOnFunction(Function &F) { + + bool runOnFunction(Function &F) override { SE = &getAnalysis(); DT = &getAnalysis().getDomTree(); LI = &getAnalysis().getLoopInfo();