diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2014-04-29 17:08:12 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2014-04-29 17:08:12 +0000 |
| commit | fc2409b63768662b077c920d5b4a84250d100b2e (patch) | |
| tree | 4c28f07c54059335a3596841a8b340442e3a585d /lib/Serialization/ModuleManager.cpp | |
| parent | 00ea13b6fbbd8fec4d25141279ef32649870d6ab (diff) | |
| download | clang-fc2409b63768662b077c920d5b4a84250d100b2e.tar.gz clang-fc2409b63768662b077c920d5b4a84250d100b2e.tar.bz2 clang-fc2409b63768662b077c920d5b4a84250d100b2e.tar.xz | |
[analyzer] Don't assert when combining using .* on a temporary.
While we don't model pointer-to-member operators yet (neither .* nor ->*),
CallAndMessageChecker still checks to make sure the 'this' object is not
null or undefined first. However, it also expects that the object should
always have a valid MemRegion, something that's generally important elsewhere
in the analyzer as well. Ensure this is true ahead of time, just like we do
for member access.
PR19531
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
