[llvm-commits] [llvm] r71022 - /llvm/trunk/include/llvm/Support/ValueHandle.h
Dan Gohman
gohman at apple.com
Tue May 5 14:23:41 PDT 2009
Author: djg
Date: Tue May 5 16:23:20 2009
New Revision: 71022
URL: http://llvm.org/viewvc/llvm-project?rev=71022&view=rev
Log:
Add an explicit keyword.
Modified:
llvm/trunk/include/llvm/Support/ValueHandle.h
Modified: llvm/trunk/include/llvm/Support/ValueHandle.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ValueHandle.h?rev=71022&r1=71021&r2=71022&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ValueHandle.h (original)
+++ llvm/trunk/include/llvm/Support/ValueHandle.h Tue May 5 16:23:20 2009
@@ -53,7 +53,8 @@
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)
More information about the llvm-commits
mailing list