]> granicus.if.org Git - clang/commitdiff
Remove unused class.
authorEli Friedman <eli.friedman@gmail.com>
Wed, 11 Sep 2013 00:37:06 +0000 (00:37 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 11 Sep 2013 00:37:06 +0000 (00:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190462 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaType.cpp

index f42d7568895707a662f6bf5396c8e39ce9112525..2acfb267005a986f30289c03053d26c1b36bfe43 100644 (file)
@@ -235,26 +235,6 @@ namespace {
       savedAttrs.back()->setNext(0);
     }
   };
-
-  /// Basically std::pair except that we really want to avoid an
-  /// implicit operator= for safety concerns.  It's also a minor
-  /// link-time optimization for this to be a private type.
-  struct AttrAndList {
-    /// The attribute.
-    AttributeList &first;
-
-    /// The head of the list the attribute is currently in.
-    AttributeList *&second;
-
-    AttrAndList(AttributeList &attr, AttributeList *&head)
-      : first(attr), second(head) {}
-  };
-}
-
-namespace llvm {
-  template <> struct isPodLike<AttrAndList> {
-    static const bool value = true;
-  };
 }
 
 static void spliceAttrIntoList(AttributeList &attr, AttributeList *&head) {