remove all of the various setName implementations, consolidating them into
[oota-llvm.git] / include / llvm / Value.h
index f59e9461282d6f581a69d8aba0d33f43c5fd6a8f..164c7ee811c7ee50460c2b96c2e9e0138d99550e 100644 (file)
@@ -75,9 +75,7 @@ public:
   inline bool               hasName() const { return !Name.empty(); }
   inline const std::string &getName() const { return Name; }
 
-  virtual void setName(const std::string &name) {
-    Name = name;
-  }
+  void setName(const std::string &name);
   
   /// replaceAllUsesWith - Go through the uses list for this definition and make
   /// each use point to "V" instead of "this".  After this completes, 'this's