aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis/Support/ExprDeclBitVector.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-07 19:56:57 +0000
committerChris Lattner <sabre@nondot.org>2008-06-07 19:56:57 +0000
commit259dfdc79126a957e56e55e3e3788031b99be12f (patch)
tree4cf58d12c7e65c461ec1e8264f484f6e7873b58d /include/clang/Analysis/Support/ExprDeclBitVector.h
parentc53296eb6d97f37fc1326f3ab38c3c811390b838 (diff)
Mark the right ctor explicit, patch by Cédric Venet
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/Support/ExprDeclBitVector.h')
-rw-r--r--include/clang/Analysis/Support/ExprDeclBitVector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Analysis/Support/ExprDeclBitVector.h b/include/clang/Analysis/Support/ExprDeclBitVector.h
index 5796fb39a7..7b44fd7c6b 100644
--- a/include/clang/Analysis/Support/ExprDeclBitVector.h
+++ b/include/clang/Analysis/Support/ExprDeclBitVector.h
@@ -31,8 +31,8 @@ struct DeclBitVector_Types {
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;