projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8548241
)
[IR] Make AttributeSet constructor from AttributeSetNode* explicit
author
Reid Kleckner
<rnk@google.com>
Wed, 12 Apr 2017 22:30:37 +0000
(22:30 +0000)
committer
Reid Kleckner
<rnk@google.com>
Wed, 12 Apr 2017 22:30:37 +0000
(22:30 +0000)
llvm-svn: 300119
llvm/include/llvm/IR/Attributes.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/IR/Attributes.h
b/llvm/include/llvm/IR/Attributes.h
index
457682b
..
56f0f77
100644
(file)
--- a/
llvm/include/llvm/IR/Attributes.h
+++ b/
llvm/include/llvm/IR/Attributes.h
@@
-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.