mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 21:50:40 +00:00
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:
parent
60858584f0
commit
8ed60ab661
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user