mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +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:
@@ -114,7 +114,7 @@ public:
|
||||
|
||||
/// print - Convert to human readable form
|
||||
///
|
||||
virtual void print(std::ostream &OS) const;
|
||||
virtual void print(std::ostream &OS, const Module* = 0) const;
|
||||
};
|
||||
|
||||
//===-------------------------------------
|
||||
@@ -218,7 +218,7 @@ public:
|
||||
|
||||
/// print - Convert to human readable form
|
||||
///
|
||||
virtual void print(std::ostream &OS) const;
|
||||
virtual void print(std::ostream &OS, const Module* = 0) const;
|
||||
|
||||
/// dominates - Return true if A dominates B. This performs the special
|
||||
/// checks necessary if A and B are in the same basic block.
|
||||
@@ -375,7 +375,7 @@ public:
|
||||
|
||||
/// print - Convert to human readable form
|
||||
///
|
||||
virtual void print(std::ostream &OS) const;
|
||||
virtual void print(std::ostream &OS, const Module* = 0) const;
|
||||
};
|
||||
|
||||
|
||||
@@ -475,7 +475,7 @@ public:
|
||||
|
||||
/// print - Convert to human readable form
|
||||
///
|
||||
virtual void print(std::ostream &OS) const;
|
||||
virtual void print(std::ostream &OS, const Module* = 0) const;
|
||||
};
|
||||
|
||||
|
||||
|
@@ -60,7 +60,7 @@ public:
|
||||
~IntervalPartition() { destroy(); }
|
||||
|
||||
// print - Show contents in human readable format...
|
||||
virtual void print(std::ostream &O) const;
|
||||
virtual void print(std::ostream &O, const Module* = 0) const;
|
||||
|
||||
// getRootInterval() - Return the root interval that contains the starting
|
||||
// block of the function.
|
||||
|
@@ -241,7 +241,7 @@ public:
|
||||
virtual bool runOnFunction(Function &F);
|
||||
|
||||
virtual void releaseMemory();
|
||||
void print(std::ostream &O) const;
|
||||
void print(std::ostream &O, const Module* = 0) const;
|
||||
|
||||
/// getAnalysisUsage - Requires dominator sets
|
||||
///
|
||||
|
@@ -202,7 +202,7 @@ namespace llvm {
|
||||
virtual bool runOnFunction(Function &F);
|
||||
virtual void releaseMemory();
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
|
||||
virtual void print(std::ostream &OS) const;
|
||||
virtual void print(std::ostream &OS, const Module* = 0) const;
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user