]> granicus.if.org Git - clang/commit
When @encode'ing a C++ class that has empty base classes, we can end
authorDouglas Gregor <dgregor@apple.com>
Fri, 27 Apr 2012 22:30:01 +0000 (22:30 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 27 Apr 2012 22:30:01 +0000 (22:30 +0000)
commit58db7a575efc9a2f35266fe240feac3cf317753d
tree25fa41b2db819283757a003ebad351ebb5d01c72
parent0eed2cbba09af1ab089f5b1dd9dd34be87fe0d9a
When @encode'ing a C++ class that has empty base classes, we can end
up with gaps when the class inherits from the same empty base class
more than once. Fixes <rdar://problem/11324167>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155738 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
test/CodeGenObjCXX/encode.mm