[llvm-commits] [llvm] r80429 - in /llvm/trunk/lib/Transforms/Instrumentation: MaximumSpanningTree.cpp MaximumSpanningTree.h
Bill Wendling
isanbard at gmail.com
Sat Aug 29 05:31:38 PDT 2009
Author: void
Date: Sat Aug 29 07:31:38 2009
New Revision: 80429
URL: http://llvm.org/viewvc/llvm-project?rev=80429&view=rev
Log:
Fix warning about non-virtual destructor.
Modified:
llvm/trunk/lib/Transforms/Instrumentation/MaximumSpanningTree.cpp
llvm/trunk/lib/Transforms/Instrumentation/MaximumSpanningTree.h
Modified: llvm/trunk/lib/Transforms/Instrumentation/MaximumSpanningTree.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/MaximumSpanningTree.cpp?rev=80429&r1=80428&r2=80429&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/MaximumSpanningTree.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/MaximumSpanningTree.cpp Sat Aug 29 07:31:38 2009
@@ -102,6 +102,9 @@
std::stable_sort(MST.begin(),MST.end());
}
+MaximumSpanningTree::~MaximumSpanningTree() {
+}
+
MaximumSpanningTree::MaxSpanTree::iterator MaximumSpanningTree::begin() {
return MST.begin();
}
Modified: llvm/trunk/lib/Transforms/Instrumentation/MaximumSpanningTree.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/MaximumSpanningTree.h?rev=80429&r1=80428&r2=80429&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/MaximumSpanningTree.h (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/MaximumSpanningTree.h Sat Aug 29 07:31:38 2009
@@ -38,6 +38,7 @@
// easier for the OptimalEdgeProfileInstrumentation to use this MST to do
// an optimal profiling.
MaximumSpanningTree(Function *F, ProfileInfo *PI, bool invert);
+ virtual ~MaximumSpanningTree();
virtual MaxSpanTree::iterator begin();
virtual MaxSpanTree::iterator end();
More information about the llvm-commits
mailing list