]> granicus.if.org Git - clang/commit
Don't adjust field offsets when using external record layout.
authorZachary Turner <zturner@google.com>
Thu, 1 Oct 2015 22:08:02 +0000 (22:08 +0000)
committerZachary Turner <zturner@google.com>
Thu, 1 Oct 2015 22:08:02 +0000 (22:08 +0000)
commitd347d226ce6a15b052e0a39a885310668ded593f
tree2a1731653b6da80be0eefc1982d937faae7ad7a0
parent1eef93ff1d6bd164478e3565110f04b87c85b6f8
Don't adjust field offsets when using external record layout.

This was already being done when injecting the VBPtr, but not
when injecting the VFPtr.  This fixes a number of tests in LLDB's
test suite.

Reviewed by: David Majnemer
Differential Revision: http://reviews.llvm.org/D13276

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249085 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/RecordLayoutBuilder.cpp