summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-02-05 23:05:09 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-02-05 23:05:09 +0000
commitef9ac7a512191d82ad3dc0c2542f700955421f06 (patch)
tree34903058b380555851a4ea3934015694bff075fd /llvm/lib/IR
parentfc404c7fb3bc49d1e4c38750c35205926028c54b (diff)
downloadbcm5719-llvm-ef9ac7a512191d82ad3dc0c2542f700955421f06.tar.gz
bcm5719-llvm-ef9ac7a512191d82ad3dc0c2542f700955421f06.zip
Attempt#2 to work around MSVC rejects-valid.
llvm-svn: 259948
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/AttributeImpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/AttributeImpl.h b/llvm/lib/IR/AttributeImpl.h
index f23e9585cf0..1b13134d37d 100644
--- a/llvm/lib/IR/AttributeImpl.h
+++ b/llvm/lib/IR/AttributeImpl.h
@@ -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; }
OpenPOWER on IntegriCloud