diff options
author | Dan Gohman <gohman@apple.com> | 2007-05-03 18:45:06 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-05-03 18:45:06 +0000 |
commit | 4998264403539a8201899756193261eb4f9d7f0b (patch) | |
tree | 3726d614fa4642cfb1a771668ae53fa19f7f8db2 /include | |
parent | 34e400ebe655160874f27d803811118a168599e1 (diff) | |
download | external_llvm-4998264403539a8201899756193261eb4f9d7f0b.zip external_llvm-4998264403539a8201899756193261eb4f9d7f0b.tar.gz external_llvm-4998264403539a8201899756193261eb4f9d7f0b.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index 263af5f..26f6f95 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. /// |