diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2013-06-06 00:12:41 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2013-06-06 00:12:41 +0000 |
| commit | 1089a57a88051f84aca66f3d8c92bda32a3a5c49 (patch) | |
| tree | 7d0bbb9df618887ed40eb25d9b5cde7b592fdb0f /lib/CodeGen/CGExprComplex.cpp | |
| parent | 574c7cf6d0c8e8f8ecda360ae271d5391c404534 (diff) | |
| download | clang-1089a57a88051f84aca66f3d8c92bda32a3a5c49.tar.gz clang-1089a57a88051f84aca66f3d8c92bda32a3a5c49.tar.bz2 clang-1089a57a88051f84aca66f3d8c92bda32a3a5c49.tar.xz | |
[analyzer; new edges] Don't crash if the top-level entry edge is missing.
We previously asserted that there was a top-level function entry edge, but
if the function decl's location is invalid (or within a macro) this edge
might not exist. Change the assertion to an actual check, and don't drop
the first path piece if it doesn't match.
<rdar://problem/14070304>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183358 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
