From: Ted Kremenek Date: Wed, 27 Jan 2010 16:31:37 +0000 (+0000) Subject: Add missing call to Optional<...>.getValue() that was pointed out by Chandler. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39c2ea1dea119ef28f96ed767abc87252932476a;p=clang Add missing call to Optional<...>.getValue() that was pointed out by Chandler. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94678 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Checker/RegionStore.cpp b/lib/Checker/RegionStore.cpp index 7fb9c0fd1b..376921f00e 100644 --- a/lib/Checker/RegionStore.cpp +++ b/lib/Checker/RegionStore.cpp @@ -1596,7 +1596,7 @@ const GRState *RegionStoreManager::BindArray(const GRState *state, // We assume that string constants are bound to // constant arrays. - uint64_t size = Size; + uint64_t size = Size.getValue(); for (uint64_t i = 0; i < size; ++i, ++j) { if (j >= len)