]> granicus.if.org Git - clang/commit
[analyzer] Treat cast of array to reference in the same way as array to
authorAnna Zaks <ganna@apple.com>
Thu, 24 May 2012 17:31:57 +0000 (17:31 +0000)
committerAnna Zaks <ganna@apple.com>
Thu, 24 May 2012 17:31:57 +0000 (17:31 +0000)
commit17eb65f1bfcc33d2a9ecefe32368cb374155dbdc
treec531f2681d04625a81cec35450d73e9c88806e4a
parent98553e894111627ac0bd4a6972431f09ea37f2c1
[analyzer] Treat cast of array to reference in the same way as array to
pointer.

Fixes one of the crashes reported in PR12874.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157401 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/SValBuilder.cpp
test/Analysis/cxx11-crashes.cpp