summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-05-28 22:32:08 +0000
committerAnna Zaks <ganna@apple.com>2013-05-28 22:32:08 +0000
commit3056439bb175db8c46b89fb4385de8b3a8e42d0d (patch)
treee5c44458b3bf58683fe1d633fdf2e09ec95a486c /lib/CodeGen/CodeGenFunction.cpp
parentdc0705645276258afddb06cdf0fd7c8840251ee0 (diff)
downloadclang-3056439bb175db8c46b89fb4385de8b3a8e42d0d.tar.gz
clang-3056439bb175db8c46b89fb4385de8b3a8e42d0d.tar.bz2
clang-3056439bb175db8c46b89fb4385de8b3a8e42d0d.tar.xz
[analyzer] Re-enable reasoning about CK_LValueBitCast
It’s important for us to reason about the cast as it is used in std::addressof. The reason we did not handle the cast previously was a crash on a test case (see commit r157478). The crash was in processing array to pointer decay when the region type was not an array. Address the issue, by just returning an unknown in that case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions