]> granicus.if.org Git - clang/commit
If we already set a primary base, don't set it to the first nearly empty base class.
authorAnders Carlsson <andersca@mac.com>
Tue, 22 Sep 2009 19:16:59 +0000 (19:16 +0000)
committerAnders Carlsson <andersca@mac.com>
Tue, 22 Sep 2009 19:16:59 +0000 (19:16 +0000)
commit56cfdc183e6012201c7e0a45b04fe74fd1ab51e4
treebab1e583ffb9082b5723fc17008cfe25f0ac6d59
parent8ebcdfe7992c90c22ef26c7743b6a08a6a837387
If we already set a primary base, don't set it to the first nearly empty base class.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82563 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/RecordLayoutBuilder.cpp
test/SemaCXX/primary-base.cpp [new file with mode: 0644]