[llvm-commits] CVS: llvm/include/llvm/Analysis/ScalarEvolution.h

Dan Gohman djg at cray.com
Thu May 3 11:45:26 PDT 2007



Changes in directory llvm/include/llvm/Analysis:

ScalarEvolution.h updated: 1.19 -> 1.20
---
Log message:

Use the explicit keyword for the SCEV class' constructor.


---
Diffs of the changes:  (+1 -1)

 ScalarEvolution.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/Analysis/ScalarEvolution.h
diff -u llvm/include/llvm/Analysis/ScalarEvolution.h:1.19 llvm/include/llvm/Analysis/ScalarEvolution.h:1.20
--- llvm/include/llvm/Analysis/ScalarEvolution.h:1.19	Wed May  2 20:11:53 2007
+++ llvm/include/llvm/Analysis/ScalarEvolution.h	Thu May  3 13:45:06 2007
@@ -54,7 +54,7 @@
   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.
     ///






More information about the llvm-commits mailing list