Changes in directory llvm/include/llvm:
Argument.h updated: 1.16 -> 1.17 --- Log message: make these accessors private. --- Diffs of the changes: (+7 -6) Argument.h | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) Index: llvm/include/llvm/Argument.h diff -u llvm/include/llvm/Argument.h:1.16 llvm/include/llvm/Argument.h:1.17 --- llvm/include/llvm/Argument.h:1.16 Mon Apr 16 22:26:42 2007 +++ llvm/include/llvm/Argument.h Wed May 23 00:46:04 2007 @@ -46,12 +46,6 @@ inline const Function *getParent() const { 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; void print(std::ostream *OS) const { if (OS) print(*OS); @@ -64,6 +58,13 @@ static inline bool classof(const Value *V) { 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 _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits