mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-06 17:47:37 +00:00
[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:
parent
53726fa11a
commit
f31bea8f80
@ -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…
x
Reference in New Issue
Block a user