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:
parent
7552ec6918
commit
c764621a52
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user