diff options
| author | Pavel Labath <labath@google.com> | 2013-06-20 07:45:01 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2013-06-20 07:45:01 +0000 |
| commit | 9122025df6682a29ba4bdfc4330d2caebb8ea4de (patch) | |
| tree | dc6b95da16bbf51421477ff2d2b19e37936f1524 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | fc5335dd8ead65b7dc1dedd75ed32f9e74f229d0 (diff) | |
| download | clang-9122025df6682a29ba4bdfc4330d2caebb8ea4de.tar.gz clang-9122025df6682a29ba4bdfc4330d2caebb8ea4de.tar.bz2 clang-9122025df6682a29ba4bdfc4330d2caebb8ea4de.tar.xz | |
Fix static analyzer crash when casting from an incomplete type
Summary:
When doing a reinterpret+dynamic cast from an incomplete type, the analyzer
would crash (bug #16308). This fix makes the dynamic cast evaluator ignore
incomplete types, as they can never be used in a dynamic_cast. Also adding a
regression test.
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1006
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
