mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-16 12:24:03 +00:00
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
This commit is contained in:
@ -37,7 +37,7 @@ namespace {
|
||||
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 @@ namespace {
|
||||
// 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 {
|
||||
|
Reference in New Issue
Block a user