diff options
author | Anna Zaks <ganna@apple.com> | 2011-12-20 22:35:30 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2011-12-20 22:35:30 +0000 |
commit | 2cbe791d3e9b26f30196c4852da75d9ad67b4ad9 (patch) | |
tree | 0fae159435699e0f6287b60932699a97549cd868 /lib/Basic/VersionTuple.cpp | |
parent | b5ea9db3cf47e8d4bc60d922331773dbfd265c6f (diff) |
[analyzer] Do not invalidate arguments when the parameter's
type is a pointer to const. (radar://10595327)
The regions corresponding to the pointer and reference arguments to
a function get invalidated by the calls since a function call can
possibly modify the pointed to data. With this change, we are not going
to invalidate the data if the argument is a pointer to const. This
change makes the analyzer more optimistic in reporting errors.
(Support for C, C++ and Obj C)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/VersionTuple.cpp')
0 files changed, 0 insertions, 0 deletions