diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-07-10 22:30:06 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-07-10 22:30:06 +0000 |
commit | 7ecbfbcddd278eede10bd38fa03a95a2110b191a (patch) | |
tree | 04be65925ff24bcfc36c847cef9d9cc3d1d0cb14 /lib/Analysis/CheckNSError.cpp | |
parent | 88bd3406013a491fd628610be2d74f9063cfdb05 (diff) |
Restructure RegionStoreManager::getSizeInElements() to use a switch statement
over the types of MemRegions. This allows the compiler to warn us which regions
are not handled, and also is a little faster.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CheckNSError.cpp')
0 files changed, 0 insertions, 0 deletions