Remove operator << to Assembly/Writer.h
authorChris Lattner <sabre@nondot.org>
Tue, 18 Sep 2001 17:03:04 +0000 (17:03 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 18 Sep 2001 17:03:04 +0000 (17:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@625 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Value.h

index 2594418ad9b9281380b521766d860283a5e86327..8af91e85edfb3a22f459ccb7e676666c0dd4e941 100644 (file)
@@ -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<Value> 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