]> granicus.if.org Git - clang/commit
When comparing two block captures for layout, don't crash
authorJohn McCall <rjmccall@apple.com>
Fri, 11 Sep 2015 22:00:51 +0000 (22:00 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 11 Sep 2015 22:00:51 +0000 (22:00 +0000)
commit4c682cf50f928f82e286df97d10a3d1fcf68e1a1
tree250c14da6c933166fbd9e18cebafee6770566f0f
parentb5fc9f2496c66f38c3f1de4b0e33795d4b147d1d
When comparing two block captures for layout, don't crash
if they have the same alignment and one was 'this'.

Fixes PR24780.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247482 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBlocks.cpp
test/CodeGenObjCXX/blocks.mm