diff options
| author | Anna Zaks <ganna@apple.com> | 2013-05-28 23:24:01 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2013-05-28 23:24:01 +0000 |
| commit | 7f1fd2f182717d5ce6cde60398128910c90f98be (patch) | |
| tree | 9d608ee849213c464be295eba4fa60a0fc11be9f /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 3056439bb175db8c46b89fb4385de8b3a8e42d0d (diff) | |
| download | clang-7f1fd2f182717d5ce6cde60398128910c90f98be.tar.gz clang-7f1fd2f182717d5ce6cde60398128910c90f98be.tar.bz2 clang-7f1fd2f182717d5ce6cde60398128910c90f98be.tar.xz | |
[analyzer] Use the expression’s type instead of region’s type in ArrayToPointer decay evaluation
This gives slightly better precision, specifically, in cases where a non-typed region represents the array
or when the type is a non-array type, which can happen when an array is a result of a reinterpret_cast.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182810 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
