projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5412d06
)
Add an explicit keyword.
author
Dan Gohman
<gohman@apple.com>
Tue, 5 May 2009 21:23:20 +0000
(21:23 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 5 May 2009 21:23:20 +0000
(21:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71022
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/ValueHandle.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/ValueHandle.h
b/include/llvm/Support/ValueHandle.h
index f9b30fcf0a0cee901d95dff6a6ef45945cf534fb..5c6fb74c1f5fde435399de5db79569ad212b2ab6 100644
(file)
--- a/
include/llvm/Support/ValueHandle.h
+++ b/
include/llvm/Support/ValueHandle.h
@@
-53,7
+53,8
@@
private:
ValueHandleBase *Next;
Value *VP;
public:
- ValueHandleBase(HandleBaseKind Kind) : PrevPair(0, Kind), Next(0), VP(0) {}
+ explicit ValueHandleBase(HandleBaseKind Kind)
+ : PrevPair(0, Kind), Next(0), VP(0) {}
ValueHandleBase(HandleBaseKind Kind, Value *V)
: PrevPair(0, Kind), Next(0), VP(V) {
if (V)