mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
make these accessors private.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37302 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b3b87708eb
commit
570204cbc2
@ -46,12 +46,6 @@ public:
|
|||||||
inline const Function *getParent() const { return Parent; }
|
inline const Function *getParent() const { return Parent; }
|
||||||
inline Function *getParent() { return Parent; }
|
inline Function *getParent() { return Parent; }
|
||||||
|
|
||||||
// getNext/Prev - Return the next or previous argument in the list.
|
|
||||||
Argument *getNext() { return Next; }
|
|
||||||
const Argument *getNext() const { return Next; }
|
|
||||||
Argument *getPrev() { return Prev; }
|
|
||||||
const Argument *getPrev() const { return Prev; }
|
|
||||||
|
|
||||||
virtual void print(std::ostream &OS) const;
|
virtual void print(std::ostream &OS) const;
|
||||||
void print(std::ostream *OS) const {
|
void print(std::ostream *OS) const {
|
||||||
if (OS) print(*OS);
|
if (OS) print(*OS);
|
||||||
@ -64,6 +58,13 @@ public:
|
|||||||
static inline bool classof(const Value *V) {
|
static inline bool classof(const Value *V) {
|
||||||
return V->getValueID() == ArgumentVal;
|
return V->getValueID() == ArgumentVal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
// getNext/Prev - Return the next or previous argument in the list.
|
||||||
|
Argument *getNext() { return Next; }
|
||||||
|
const Argument *getNext() const { return Next; }
|
||||||
|
Argument *getPrev() { return Prev; }
|
||||||
|
const Argument *getPrev() const { return Prev; }
|
||||||
};
|
};
|
||||||
|
|
||||||
} // End llvm namespace
|
} // End llvm namespace
|
||||||
|
Loading…
x
Reference in New Issue
Block a user