From 793c6e2d5e0fb5c08d299b5457f1d428a870a1d9 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 3 May 2007 18:45:06 +0000 Subject: [PATCH] Use the explicit keyword for the SCEV class' constructor. llvm-svn: 36686 --- include/llvm/Analysis/ScalarEvolution.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index 263af5f0e51..26f6f951333 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -54,7 +54,7 @@ namespace llvm { protected: virtual ~SCEV(); public: - SCEV(unsigned SCEVTy) : SCEVType(SCEVTy), RefCount(0) {} + explicit SCEV(unsigned SCEVTy) : SCEVType(SCEVTy), RefCount(0) {} /// getNegativeSCEV - Return the SCEV object corresponding to -V. ///