diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-07-15 22:09:25 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-07-15 22:09:25 +0000 |
commit | f3e1e4d9a1b5dd9f05b3fbaa90520db57e7b7684 (patch) | |
tree | dd5db6bb82fb16e61d9177fc33eb2b5dcddef536 /clang/lib/Analysis/BasicStore.cpp | |
parent | 5302288c9076266f2b3fe910f538e4c026833ea5 (diff) | |
download | bcm5719-llvm-f3e1e4d9a1b5dd9f05b3fbaa90520db57e7b7684.tar.gz bcm5719-llvm-f3e1e4d9a1b5dd9f05b3fbaa90520db57e7b7684.zip |
Fix <rdar://problem/7062158> by having BasicStoreManager model values for 'static' global variables.
llvm-svn: 75844
Diffstat (limited to 'clang/lib/Analysis/BasicStore.cpp')
-rw-r--r-- | clang/lib/Analysis/BasicStore.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Analysis/BasicStore.cpp b/clang/lib/Analysis/BasicStore.cpp index f1f051f244c..7aa63c1c630 100644 --- a/clang/lib/Analysis/BasicStore.cpp +++ b/clang/lib/Analysis/BasicStore.cpp @@ -521,10 +521,6 @@ Store BasicStoreManager::getInitialStore() { } } else if (VarDecl* VD = dyn_cast<VarDecl>(ND)) { - // Punt on static variables for now. - if (VD->getStorageClass() == VarDecl::Static) - continue; - // Only handle simple types that we can symbolicate. if (!SymbolManager::canSymbolicate(VD->getType())) continue; |