diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-02-06 08:51:30 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-02-06 08:51:30 +0000 |
commit | 02ebefbb989368b03de8e0c13c1d8a1cba8b7373 (patch) | |
tree | 3b644f9ee2eb9e6db8e72560e177450c4546754a /lib | |
parent | a48f7378a05095595d0f6a9c11fc8141e7a5ea61 (diff) |
SymbolicRegions really have unknown sizes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 93b55255d5..66aabcb49e 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -481,9 +481,7 @@ SVal RegionStoreManager::getSizeInElements(const GRState* St, return UnknownVal(); } - if (const SymbolicRegion* SR = dyn_cast<SymbolicRegion>(R)) { - // FIXME: Unsupported yet. - SR = 0; + if (isa<SymbolicRegion>(R)) { return UnknownVal(); } |