From 4998264403539a8201899756193261eb4f9d7f0b 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36686 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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. ///