summaryrefslogtreecommitdiff
path: root/include/llvm/Pass.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-07 04:03:45 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-07 04:03:45 +0000
commitce9653ce449f1409815547e1bf60abcd1332d2c9 (patch)
tree15be737ca897bafc75763e98342aeeabebb20797 /include/llvm/Pass.h
parentead87b671278379f92890fddd859a301bb68f462 (diff)
downloadllvm-ce9653ce449f1409815547e1bf60abcd1332d2c9.tar.gz
llvm-ce9653ce449f1409815547e1bf60abcd1332d2c9.tar.bz2
llvm-ce9653ce449f1409815547e1bf60abcd1332d2c9.tar.xz
For PR387:\
Make only one print method to avoid overloaded virtual warnings when \ compiled with -Woverloaded-virtual git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r--include/llvm/Pass.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index ff710d3766..0855986fbb 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -96,8 +96,7 @@ public:
/// provide the Module* in case the analysis doesn't need it it can just be
/// ignored.
///
- virtual void print(std::ostream &O, const Module *M) const { print(O); }
- virtual void print(std::ostream &O) const;
+ virtual void print(std::ostream &O, const Module *M) const;
void dump() const; // dump - call print(std::cerr, 0);