[llvm-commits] CVS: llvm/lib/Analysis/AliasSetTracker.cpp CFGPrinter.cpp IntervalPartition.cpp LoopInfo.cpp ScalarEvolution.cpp
Reid Spencer
reid at x10sys.com
Mon Dec 6 20:03:57 PST 2004
Changes in directory llvm/lib/Analysis:
AliasSetTracker.cpp updated: 1.31 -> 1.32
CFGPrinter.cpp updated: 1.10 -> 1.11
IntervalPartition.cpp updated: 1.26 -> 1.27
LoopInfo.cpp updated: 1.60 -> 1.61
ScalarEvolution.cpp updated: 1.29 -> 1.30
---
Log message:
For PR387: http://llvm.cs.uiuc.edu/PR387 :\
Make only one print method to avoid overloaded virtual warnings when \
compiled with -Woverloaded-virtual
---
Diffs of the changes: (+6 -6)
Index: llvm/lib/Analysis/AliasSetTracker.cpp
diff -u llvm/lib/Analysis/AliasSetTracker.cpp:1.31 llvm/lib/Analysis/AliasSetTracker.cpp:1.32
--- llvm/lib/Analysis/AliasSetTracker.cpp:1.31 Sat Nov 27 12:37:42 2004
+++ llvm/lib/Analysis/AliasSetTracker.cpp Mon Dec 6 22:03:45 2004
@@ -539,7 +539,7 @@
}
/// print - Convert to human readable form
- virtual void print(std::ostream &OS) const {
+ virtual void print(std::ostream &OS, const Module* = 0) const {
Tracker->print(OS);
}
Index: llvm/lib/Analysis/CFGPrinter.cpp
diff -u llvm/lib/Analysis/CFGPrinter.cpp:1.10 llvm/lib/Analysis/CFGPrinter.cpp:1.11
--- llvm/lib/Analysis/CFGPrinter.cpp:1.10 Wed Sep 1 17:55:35 2004
+++ llvm/lib/Analysis/CFGPrinter.cpp Mon Dec 6 22:03:45 2004
@@ -101,7 +101,7 @@
return false;
}
- void print(std::ostream &OS) const {}
+ void print(std::ostream &OS, const Module* = 0) const {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
@@ -119,7 +119,7 @@
CFGOnly = OldCFGOnly;
return false;
}
- void print(std::ostream &OS) const {}
+ void print(std::ostream &OS, const Module* = 0) const {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
Index: llvm/lib/Analysis/IntervalPartition.cpp
diff -u llvm/lib/Analysis/IntervalPartition.cpp:1.26 llvm/lib/Analysis/IntervalPartition.cpp:1.27
--- llvm/lib/Analysis/IntervalPartition.cpp:1.26 Fri Sep 3 13:19:51 2004
+++ llvm/lib/Analysis/IntervalPartition.cpp Mon Dec 6 22:03:45 2004
@@ -32,7 +32,7 @@
RootInterval = 0;
}
-void IntervalPartition::print(std::ostream &O) const {
+void IntervalPartition::print(std::ostream &O, const Module*) const {
std::copy(Intervals.begin(), Intervals.end(),
std::ostream_iterator<const Interval *>(O, "\n"));
}
Index: llvm/lib/Analysis/LoopInfo.cpp
diff -u llvm/lib/Analysis/LoopInfo.cpp:1.60 llvm/lib/Analysis/LoopInfo.cpp:1.61
--- llvm/lib/Analysis/LoopInfo.cpp:1.60 Wed Sep 15 12:06:41 2004
+++ llvm/lib/Analysis/LoopInfo.cpp Mon Dec 6 22:03:45 2004
@@ -119,7 +119,7 @@
AU.addRequired<DominatorSet>();
}
-void LoopInfo::print(std::ostream &OS) const {
+void LoopInfo::print(std::ostream &OS, const Module* ) const {
for (unsigned i = 0; i < TopLevelLoops.size(); ++i)
TopLevelLoops[i]->print(OS);
#if 0
Index: llvm/lib/Analysis/ScalarEvolution.cpp
diff -u llvm/lib/Analysis/ScalarEvolution.cpp:1.29 llvm/lib/Analysis/ScalarEvolution.cpp:1.30
--- llvm/lib/Analysis/ScalarEvolution.cpp:1.29 Sat Dec 4 14:54:32 2004
+++ llvm/lib/Analysis/ScalarEvolution.cpp Mon Dec 6 22:03:45 2004
@@ -2326,7 +2326,7 @@
std::cerr << "\n";
}
-void ScalarEvolution::print(std::ostream &OS) const {
+void ScalarEvolution::print(std::ostream &OS, const Module* ) const {
Function &F = ((ScalarEvolutionsImpl*)Impl)->F;
LoopInfo &LI = ((ScalarEvolutionsImpl*)Impl)->LI;
More information about the llvm-commits
mailing list