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
This commit is contained in:
Dan Gohman 2007-05-03 18:45:06 +00:00
parent 34e400ebe6
commit 4998264403

View File

@ -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.
///