diff options
Diffstat (limited to 'llvm/lib/VMCore/AttributesImpl.h')
-rw-r--r-- | llvm/lib/VMCore/AttributesImpl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/AttributesImpl.h b/llvm/lib/VMCore/AttributesImpl.h index 7bc5c5045c7..0b3b4971f36 100644 --- a/llvm/lib/VMCore/AttributesImpl.h +++ b/llvm/lib/VMCore/AttributesImpl.h @@ -45,14 +45,14 @@ public: } }; -class AttributeListImpl : public FoldingSetNode { +class AttributeSetImpl : public FoldingSetNode { // AttributesList is uniqued, these should not be publicly available. - void operator=(const AttributeListImpl &) LLVM_DELETED_FUNCTION; - AttributeListImpl(const AttributeListImpl &) LLVM_DELETED_FUNCTION; + void operator=(const AttributeSetImpl &) LLVM_DELETED_FUNCTION; + AttributeSetImpl(const AttributeSetImpl &) LLVM_DELETED_FUNCTION; public: SmallVector<AttributeWithIndex, 4> Attrs; - AttributeListImpl(ArrayRef<AttributeWithIndex> attrs) + AttributeSetImpl(ArrayRef<AttributeWithIndex> attrs) : Attrs(attrs.begin(), attrs.end()) {} void Profile(FoldingSetNodeID &ID) const { |