summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AttributeImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/IR/AttributeImpl.h')
-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