Attempt#2 to work around MSVC rejects-valid.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Smith 2016-02-05 23:05:09 +00:00
parent 60858584f0
commit 8ed60ab661

View 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; }