[IR] Make AttributeSet constructor from AttributeSetNode* explicit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300119 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Kleckner 2017-04-12 22:30:37 +00:00
parent 53726fa11a
commit f31bea8f80

View File

@ -213,7 +213,7 @@ class AttributeSet {
template <typename Ty> friend struct DenseMapInfo;
private:
AttributeSet(AttributeSetNode *ASN) : SetNode(ASN) {}
explicit AttributeSet(AttributeSetNode *ASN) : SetNode(ASN) {}
public:
/// AttributeSet is a trivially copyable value type.