summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorAnton Yartsev <anton.yartsev@gmail.com>2013-09-24 23:47:29 +0000
committerAnton Yartsev <anton.yartsev@gmail.com>2013-09-24 23:47:29 +0000
commitda8d37ce42d2db4e1e76ee6f7f38f10f6b0ef0f8 (patch)
treea81dc1c3dc8ba7c418392ee0b7cb9c2ff52baf09 /lib/CodeGen/CGExprConstant.cpp
parent01ae093cbc7f347f509cfc8e53b8c2c36e0146b2 (diff)
downloadclang-da8d37ce42d2db4e1e76ee6f7f38f10f6b0ef0f8.tar.gz
clang-da8d37ce42d2db4e1e76ee6f7f38f10f6b0ef0f8.tar.bz2
clang-da8d37ce42d2db4e1e76ee6f7f38f10f6b0ef0f8.tar.xz
[analyzer] This patch removes passing around of const-invalidation vs regular-invalidation info by passing around a datastructure that maps regions and symbols to the type of invalidation they experience. This simplifies the code and would allow to associate more different invalidation types in the future.
With this patch things like preserving contents of regions (either hi- or low-level ones) or processing of the only top-level region can be implemented easily without passing around extra parameters. This patch is a first step towards adequate modeling of memcpy() by the CStringChecker checker and towards eliminating of majority of false-positives produced by the NewDeleteLeaks checker. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions