Add explicit keywords.

llvm-svn: 44234
This commit is contained in:
Dan Gohman
2007-11-19 15:30:20 +00:00
parent 36347a26f9
commit d32081002e
6 changed files with 17 additions and 16 deletions

View File

@@ -123,7 +123,7 @@ namespace {
void operator=(const ConstantPlaceHolder &); // DO NOT IMPLEMENT
public:
Use Op;
ConstantPlaceHolder(const Type *Ty)
explicit ConstantPlaceHolder(const Type *Ty)
: ConstantExpr(Ty, Instruction::UserOp1, &Op, 1),
Op(UndefValue::get(Type::Int32Ty), this) {
}