diff options
author | Anna Zaks <ganna@apple.com> | 2012-02-16 03:41:01 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-02-16 03:41:01 +0000 |
commit | 5a0917d1367115d5fddfe7551f8634759217b54b (patch) | |
tree | 1541b8a0fda5c951a9efb20edb683daee8adbce3 /lib/CodeGen/CodeGenFunction.h | |
parent | ac593008c2035fa241c80352a0c97c5d853facbf (diff) |
[analyzer] Diagnostics: Ensure that the default end of diagnostic path
piece can always be generated.
The default end of diagnostic path piece was failing to generate on a
BlockEdge that was outgoing from a basic block without a terminator,
resulting in a very simple diagnostic being rendered (ex: no path
highlighting or custom visitors). Reuse another function, which is
essentially doing the same thing and correct it not to fail when a block
has no terminator.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions