diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-07 04:03:45 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-07 04:03:45 +0000 |
commit | 90839368354d2faeb99f727250934a49f85ad08f (patch) | |
tree | 45b97277effa6831ae42f8883993323e3a7a6913 /llvm/lib/Analysis/CFGPrinter.cpp | |
parent | 1c48c2deeeaaea525ca7c45490b1fa199acd5c75 (diff) | |
download | bcm5719-llvm-90839368354d2faeb99f727250934a49f85ad08f.tar.gz bcm5719-llvm-90839368354d2faeb99f727250934a49f85ad08f.zip |
For PR387:\
Make only one print method to avoid overloaded virtual warnings when \
compiled with -Woverloaded-virtual
llvm-svn: 18589
Diffstat (limited to 'llvm/lib/Analysis/CFGPrinter.cpp')
-rw-r--r-- | llvm/lib/Analysis/CFGPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/CFGPrinter.cpp b/llvm/lib/Analysis/CFGPrinter.cpp index 88f9843c0be..c19bbad55c6 100644 --- a/llvm/lib/Analysis/CFGPrinter.cpp +++ b/llvm/lib/Analysis/CFGPrinter.cpp @@ -101,7 +101,7 @@ namespace { 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 @@ namespace { 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(); |