]> granicus.if.org Git - clang/commit
Fix pr17875.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 11 Nov 2013 19:35:06 +0000 (19:35 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 11 Nov 2013 19:35:06 +0000 (19:35 +0000)
commit47a2ab904faf4bbf3a97fc7172c549db1c1f3090
tree19cb0ad22256b1a45cd9fb3ca761e28dbbfb22a3
parent9b79630004fe0a748e0328a19de25840b37d4aa1
Fix pr17875.

The assert this patch deletes was valid only when aliasing D2 to D1, not when
looking at a base class. Since the assert was in the path where we had already
decided to not produce an alias, just drop it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194411 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXX.cpp
test/CodeGenCXX/ctor-dtor-alias.cpp