1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

[IR] Make AttributeSet constructor from AttributeSetNode* explicit

llvm-svn: 300119
This commit is contained in:
Reid Kleckner 2017-04-12 22:30:37 +00:00
parent 7552ec6918
commit c764621a52

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.