Introduce DIBuilder. It is intended to be a front-end friendly interface to emit...
[oota-llvm.git] / include / llvm / User.h
index 69826c0d8cff554bb90fb33d8d0b12800b2a3a8a..f8277952ee4ba9fa7cd03e8ee116c4a4fbb9f5fa 100644 (file)
@@ -41,7 +41,6 @@ struct OperandTraits<User> {
   struct Layout {
     typedef U overlay;
   };
-  static inline void *allocate(unsigned);
 };
 
 class User : public Value {
@@ -84,6 +83,10 @@ public:
   void operator delete(void*, unsigned) {
     assert(0 && "Constructor throws?");
   }
+  /// placement delete - required by std, but never called.
+  void operator delete(void*, unsigned, bool) {
+    assert(0 && "Constructor throws?");
+  }
 protected:
   template <int Idx, typename U> static Use &OpFrom(const U *that) {
     return Idx < 0