[llvm] r237196 - [PlaceSafepoints] Add missing "override" to PlaceBackedgeSafepointsImpl::runOnFunction
Justin Bogner
mail at justinbogner.com
Tue May 12 14:49:48 PDT 2015
Author: bogner
Date: Tue May 12 16:49:47 2015
New Revision: 237196
URL: http://llvm.org/viewvc/llvm-project?rev=237196&view=rev
Log:
[PlaceSafepoints] Add missing "override" to PlaceBackedgeSafepointsImpl::runOnFunction
Pointed out by -Winconsistent-missing-override.
Modified:
llvm/trunk/lib/Transforms/Scalar/PlaceSafepoints.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/PlaceSafepoints.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/PlaceSafepoints.cpp?rev=237196&r1=237195&r2=237196&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/PlaceSafepoints.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/PlaceSafepoints.cpp Tue May 12 16:49:47 2015
@@ -139,8 +139,8 @@ struct PlaceBackedgeSafepointsImpl : pub
runOnLoopAndSubLoops(*I);
runOnLoop(L);
}
-
- bool runOnFunction(Function &F) {
+
+ bool runOnFunction(Function &F) override {
SE = &getAnalysis<ScalarEvolution>();
DT = &getAnalysis<DominatorTreeWrapperPass>().getDomTree();
LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
More information about the llvm-commits
mailing list