summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-05-03 18:45:06 +0000
committerDan Gohman <gohman@apple.com>2007-05-03 18:45:06 +0000
commit4998264403539a8201899756193261eb4f9d7f0b (patch)
tree3726d614fa4642cfb1a771668ae53fa19f7f8db2 /include
parent34e400ebe655160874f27d803811118a168599e1 (diff)
downloadllvm-4998264403539a8201899756193261eb4f9d7f0b.tar.gz
llvm-4998264403539a8201899756193261eb4f9d7f0b.tar.bz2
llvm-4998264403539a8201899756193261eb4f9d7f0b.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index 263af5f0e5..26f6f95133 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.
///