From 00730a77f1986db0bd308309ff7a04b85646dc51 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Tue, 12 May 2015 21:49:47 +0000 Subject: [PATCH] [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 --- lib/Transforms/Scalar/PlaceSafepoints.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();