diff options
| author | Anna Zaks <ganna@apple.com> | 2013-05-28 17:31:43 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2013-05-28 17:31:43 +0000 |
| commit | 4e9179a3d0ec612a4d540281020b200254348a6b (patch) | |
| tree | a87353d356e19fc93e1c1de2a78a2ebff81eadb6 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 3ff4a2fea4aa6e5182b7799ccb4352e56961a212 (diff) | |
| download | clang-4e9179a3d0ec612a4d540281020b200254348a6b.tar.gz clang-4e9179a3d0ec612a4d540281020b200254348a6b.tar.bz2 clang-4e9179a3d0ec612a4d540281020b200254348a6b.tar.xz | |
[analyzer] Use a more generic MemRegion.getAsOffset to evaluate bin operators on MemRegions
In addition to enabling more code reuse, this suppresses some false positives by allowing us to
compare an element region to its base. See the ptr-arith.cpp test cases for an example.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
