1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Add an explicit keyword.

llvm-svn: 71022
This commit is contained in:
Dan Gohman 2009-05-05 21:23:20 +00:00
parent 5e839321f2
commit 6d1ffab07b

View File

@ -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)