[llvm-commits] CVS: llvm/lib/Analysis/IPA/PrintSCC.cpp
Reid Spencer
reid at x10sys.com
Mon Dec 6 20:03:57 PST 2004
Changes in directory llvm/lib/Analysis/IPA:
PrintSCC.cpp updated: 1.12 -> 1.13
---
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: (+2 -2)
Index: llvm/lib/Analysis/IPA/PrintSCC.cpp
diff -u llvm/lib/Analysis/IPA/PrintSCC.cpp:1.12 llvm/lib/Analysis/IPA/PrintSCC.cpp:1.13
--- llvm/lib/Analysis/IPA/PrintSCC.cpp:1.12 Sun Sep 19 23:44:31 2004
+++ llvm/lib/Analysis/IPA/PrintSCC.cpp Mon Dec 6 22:03:45 2004
@@ -37,7 +37,7 @@
struct CFGSCC : public FunctionPass {
bool runOnFunction(Function& func);
- void print(std::ostream &O) const { }
+ void print(std::ostream &O, const Module* = 0) const { }
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
@@ -48,7 +48,7 @@
// run - Print out SCCs in the call graph for the specified module.
bool runOnModule(Module &M);
- void print(std::ostream &O) const { }
+ void print(std::ostream &O, const Module* = 0) const { }
// getAnalysisUsage - This pass requires the CallGraph.
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
More information about the llvm-commits
mailing list