diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-12-05 23:36:20 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-12-05 23:36:20 +0000 |
commit | f19a93dd99480ae203749262346351fc1378ae2b (patch) | |
tree | 1dfb4652ba53d76bf88a384bd00ef8286f500f0c /clang/lib/Checker/GRState.cpp | |
parent | 6a1cf6f77cd2ddb2886b78098f4b589328b715bf (diff) | |
download | bcm5719-llvm-f19a93dd99480ae203749262346351fc1378ae2b.tar.gz bcm5719-llvm-f19a93dd99480ae203749262346351fc1378ae2b.zip |
Mark SVal constructors 'explicit'.
llvm-svn: 120970
Diffstat (limited to 'clang/lib/Checker/GRState.cpp')
-rw-r--r-- | clang/lib/Checker/GRState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Checker/GRState.cpp b/clang/lib/Checker/GRState.cpp index e5653f8fd8b..3282664cdab 100644 --- a/clang/lib/Checker/GRState.cpp +++ b/clang/lib/Checker/GRState.cpp @@ -247,7 +247,7 @@ const GRState *GRState::assumeInBound(DefinedOrUnknownSVal Idx, BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); // FIXME: This should be using ValueManager::ArrayindexTy...somehow. QualType indexTy = Ctx.IntTy; - nonloc::ConcreteInt Min = BVF.getMinValue(indexTy); + nonloc::ConcreteInt Min(BVF.getMinValue(indexTy)); // Adjust the index. SVal newIdx = svalBuilder.evalBinOpNN(this, BO_Add, |