diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-01-27 16:31:37 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-01-27 16:31:37 +0000 |
commit | 968999b5f6441ed5d314b6eb11567cf4da885675 (patch) | |
tree | 5d84ed8cd43342b7010e0ff2d58e4fb3662cbc05 /clang/lib/Checker/RegionStore.cpp | |
parent | 2c229a7c1781b7921fa9537b282426646a4dd315 (diff) | |
download | bcm5719-llvm-968999b5f6441ed5d314b6eb11567cf4da885675.tar.gz bcm5719-llvm-968999b5f6441ed5d314b6eb11567cf4da885675.zip |
Add missing call to Optional<...>.getValue() that was pointed out by Chandler.
llvm-svn: 94678
Diffstat (limited to 'clang/lib/Checker/RegionStore.cpp')
-rw-r--r-- | clang/lib/Checker/RegionStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Checker/RegionStore.cpp b/clang/lib/Checker/RegionStore.cpp index 7fb9c0fd1b6..376921f00e6 100644 --- a/clang/lib/Checker/RegionStore.cpp +++ b/clang/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) |