diff options
author | Dan Gohman <gohman@apple.com> | 2009-05-05 21:23:20 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-05-05 21:23:20 +0000 |
commit | ff9977f8cdd5275448ca19736cd14a6e20c0dac4 (patch) | |
tree | 14bd47f4743497e05e04dc241165f0b2142840c4 /include | |
parent | 5412d06e9c352c9795f4a71b91c4f869585866eb (diff) | |
download | external_llvm-ff9977f8cdd5275448ca19736cd14a6e20c0dac4.zip external_llvm-ff9977f8cdd5275448ca19736cd14a6e20c0dac4.tar.gz external_llvm-ff9977f8cdd5275448ca19736cd14a6e20c0dac4.tar.bz2 |
Add an explicit keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71022 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/ValueHandle.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/ValueHandle.h b/include/llvm/Support/ValueHandle.h index f9b30fc..5c6fb74 100644 --- 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) |