]> granicus.if.org Git - clang/commit
My original patch missed the virtual-base case for destroying
authorJohn McCall <rjmccall@apple.com>
Mon, 9 Apr 2012 21:51:56 +0000 (21:51 +0000)
committerJohn McCall <rjmccall@apple.com>
Mon, 9 Apr 2012 21:51:56 +0000 (21:51 +0000)
commit63f557804b76bf765aea58e5a46503e47e21f7c1
tree5dd698c22f18409e3fa1dc0ba532434f20a31305
parent12d8d80fb0f8d9cddecb34da0f37b0dc9fcaf5e6
My original patch missed the virtual-base case for destroying
base-class subojects.

Incidentally, thinking about virtual bases makes it clear to me that
we're not appropriately computing the access to the virtual base's
member because we're not computing the best possible access to the
virtual base at all;  in fact, we're basically assuming it's public.
I'll file a separate PR about that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154346 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CXX/class.access/class.protected/p1.cpp