aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/GRState.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-12-05 23:36:20 +0000
committerTed Kremenek <kremenek@apple.com>2010-12-05 23:36:20 +0000
commit0074b48fb8ea5040de546c79be43916efe0c1f76 (patch)
treea116b4a4f34bffa43914e3fcac25a742ee21f451 /lib/Checker/GRState.cpp
parent465846324f412055dd1ce270d757bfeead0811dc (diff)
Mark SVal constructors 'explicit'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120970 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/GRState.cpp')
-rw-r--r--lib/Checker/GRState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/GRState.cpp b/lib/Checker/GRState.cpp
index e5653f8fd8..3282664cda 100644
--- a/lib/Checker/GRState.cpp
+++ b/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,