[cfe-commits] r52078 - /cfe/trunk/include/clang/Analysis/Support/ExprDeclBitVector.h

Chris Lattner sabre at nondot.org
Sat Jun 7 12:56:58 PDT 2008


Author: lattner
Date: Sat Jun  7 14:56:57 2008
New Revision: 52078

URL: http://llvm.org/viewvc/llvm-project?rev=52078&view=rev
Log:
Mark the right ctor explicit, patch by Cédric Venet

Modified:
    cfe/trunk/include/clang/Analysis/Support/ExprDeclBitVector.h

Modified: cfe/trunk/include/clang/Analysis/Support/ExprDeclBitVector.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Support/ExprDeclBitVector.h?rev=52078&r1=52077&r2=52078&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/Support/ExprDeclBitVector.h (original)
+++ cfe/trunk/include/clang/Analysis/Support/ExprDeclBitVector.h Sat Jun  7 14:56:57 2008
@@ -31,8 +31,8 @@
   class Idx {
     unsigned I;
   public:
-    Idx(unsigned i) : I(i) {}
-    explicit Idx() : I(~0U) {}
+    explicit Idx(unsigned i) : I(i) {}
+    Idx() : I(~0U) {}
     
     bool isValid() const {
       return I != ~0U;





More information about the cfe-commits mailing list