OperandTraits<>::Layout isn't used for anything. Remove it.
authorJay Foad <jay.foad@gmail.com>
Fri, 14 Jan 2011 18:41:56 +0000 (18:41 +0000)
committerJay Foad <jay.foad@gmail.com>
Fri, 14 Jan 2011 18:41:56 +0000 (18:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123452 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/OperandTraits.h
include/llvm/User.h

index dbdb1a15494e8bb54dca812a3db186c84ba5c03b..f0df5fa9bde82336f6c07edeff452ce849b810ab 100644 (file)
@@ -38,16 +38,6 @@ struct FixedNumOperandTraits {
   static unsigned operands(const User*) {
     return ARITY;
   }
-  struct prefix {
-    Use Ops[ARITY];
-    prefix(); // DO NOT IMPLEMENT
-  };
-  template <class U>
-  struct Layout {
-    struct overlay : public prefix, public U {
-      overlay(); // DO NOT IMPLEMENT
-    };
-  };
 };
 
 //===----------------------------------------------------------------------===//
index 1b215e395e7843042c317344b442e733ef96eee1..db89b862c4b3a9e2f239bf57b9fc510692278085 100644 (file)
@@ -37,10 +37,6 @@ struct OperandTraits<User> {
   static inline Use *op_begin(User*);
   static inline Use *op_end(User*);
   static inline unsigned operands(const User*);
-  template <class U>
-  struct Layout {
-    typedef U overlay;
-  };
 };
 
 class User : public Value {