]> granicus.if.org Git - clang/commit
Initialize NextOffset correctly, otherwise tight layout fails for
authorDaniel Dunbar <daniel@zuster.org>
Mon, 4 May 2009 20:52:37 +0000 (20:52 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 4 May 2009 20:52:37 +0000 (20:52 +0000)
commitbc6ea8125afbab8635f5c319229d1ba8aa2e25e2
treeb52716fe8919348ced87bfd0103b86bb9f4def89
parentd4edddde6d3966ad4a4f60d9af0f9dd36995495c
Initialize NextOffset correctly, otherwise tight layout fails for
empty classes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70905 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/RecordLayout.h