From: Zhongxing Xu Date: Fri, 6 Feb 2009 08:51:30 +0000 (+0000) Subject: SymbolicRegions really have unknown sizes. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02ebefbb989368b03de8e0c13c1d8a1cba8b7373;p=clang SymbolicRegions really have unknown sizes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63929 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(R)) { - // FIXME: Unsupported yet. - SR = 0; + if (isa(R)) { return UnknownVal(); }