From 20f8d5d093400bc7f33f25facd0b99b1e2d8c8c9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 18 Sep 2001 17:03:04 +0000 Subject: [PATCH] Remove operator << to Assembly/Writer.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@625 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Value.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 2594418ad9b..8af91e85edf 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -57,16 +57,18 @@ public: virtual ~Value(); // Support for debugging - void dump() const; + void dump() const; // All values can potentially be typed - inline const Type* getType() const { return Ty; } + inline const Type *getType() const { return Ty; } // All values can potentially be named... - inline bool hasName() const { return Name != ""; } - inline const string& getName() const { return Name; } - virtual void setName(const string &name, SymbolTable * = 0) - { Name = name; } + inline bool hasName() const { return Name != ""; } + inline const string &getName() const { return Name; } + + virtual void setName(const string &name, SymbolTable * = 0) { + Name = name; + } // Methods for determining the subtype of this Value. The getValueType() // method returns the type of the value directly. The cast*() methods are @@ -200,9 +202,7 @@ typedef UseTy Use; // Debugging support for class Value and its subclasses. // -void DebugValue (const Value* V); -void DebugValue (const Value& V); - -ostream& operator<< (ostream &o, const Value& I); +void DebugValue(const Value *V); +void DebugValue(const Value &V); #endif