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 | 62ac9ecadc4d8a0637b33173229642cf51d42a0b (patch) | |
tree | 3c40e69e7dcdd44ffec640ec6345592e939beb0a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6e8d1ef90fcdae4989bf5d21ca987eb81c1c26ce (diff) | |
download | llvm-62ac9ecadc4d8a0637b33173229642cf51d42a0b.zip llvm-62ac9ecadc4d8a0637b33173229642cf51d42a0b.tar.gz llvm-62ac9ecadc4d8a0637b33173229642cf51d42a0b.tar.bz2 |
[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
llvm-svn: 207561
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions