From: Dan Gohman Date: Thu, 3 May 2007 18:45:06 +0000 (+0000) Subject: Use the explicit keyword for the SCEV class' constructor. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4998264403539a8201899756193261eb4f9d7f0b;p=oota-llvm.git 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 --- 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. ///