projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34e400e
)
Use the explicit keyword for the SCEV class' constructor.
author
Dan Gohman
<gohman@apple.com>
Thu, 3 May 2007 18:45:06 +0000
(18:45 +0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 3 May 2007 18:45:06 +0000
(18:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36686
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/ScalarEvolution.h
b/include/llvm/Analysis/ScalarEvolution.h
index 263af5f0e519ec8ae91a5e9323c0e0281a8ae9ca..26f6f951333709d0c8b17e3c5adaa72ef7471dfb 100644
(file)
--- 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.
///