aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-18 17:03:04 +0000
committerChris Lattner <sabre@nondot.org>2001-09-18 17:03:04 +0000
commit20f8d5d093400bc7f33f25facd0b99b1e2d8c8c9 (patch)
tree6ffc4b4ff31ab125bcce0e4125968a300936a90e /include
parent921b5e14715f241b5050dfbe063621ded1344893 (diff)
downloadexternal_llvm-20f8d5d093400bc7f33f25facd0b99b1e2d8c8c9.zip
external_llvm-20f8d5d093400bc7f33f25facd0b99b1e2d8c8c9.tar.gz
external_llvm-20f8d5d093400bc7f33f25facd0b99b1e2d8c8c9.tar.bz2
Remove operator << to Assembly/Writer.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@625 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Value.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index 2594418..8af91e8 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<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