Skip to content

Commit

Permalink
Attempt#2 to work around MSVC rejects-valid.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259948 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
zygoloid committed Feb 5, 2016
1 parent 6085858 commit 8ed60ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/IR/AttributeImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -268,7 +268,7 @@ class AttributeSetImpl final
}
}

using TrailingObjects::operator delete;
using TrailingObjects<AttributeSetImpl, IndexAttrPair>::operator delete;

/// \brief Get the context that created this AttributeSetImpl.
LLVMContext &getContext() { return Context; }
Expand Down

0 comments on commit 8ed60ab

Please sign in to comment.