Attempt#2 to work around MSVC rejects-valid.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 5 Feb 2016 23:05:09 +0000 (23:05 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 5 Feb 2016 23:05:09 +0000 (23:05 +0000)
llvm-svn: 259948

llvm/lib/IR/AttributeImpl.h

index f23e958..1b13134 100644 (file)
@@ -171,7 +171,7 @@ class AttributeSetNode final
   void operator=(const AttributeSetNode &) = delete;
   AttributeSetNode(const AttributeSetNode &) = delete;
 public:
-  using TrailingObjects::operator delete;
+  using TrailingObjects<AttributeSetNode, Attribute>::operator delete;
 
   static AttributeSetNode *get(LLVMContext &C, ArrayRef<Attribute> Attrs);
 
@@ -268,7 +268,7 @@ public:
     }
   }
 
-  using TrailingObjects::operator delete;
+  using TrailingObjects<AttributeSetImpl, IndexAttrPair>::operator delete;
 
   /// \brief Get the context that created this AttributeSetImpl.
   LLVMContext &getContext() { return Context; }