]> granicus.if.org Git - clang/commit
Make sure adding a field to a struct never reduces its size. PR11745.
authorEli Friedman <eli.friedman@gmail.com>
Thu, 12 Jan 2012 22:41:25 +0000 (22:41 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 12 Jan 2012 22:41:25 +0000 (22:41 +0000)
commita1796826729ba8c73c32dd49fa4945ff3cb12039
tree9b708cdc4d1e3329c625793f4f66289ae638c839
parent3d33622cf50fe8bd2f10e71b9135bc5c74b1786e
Make sure adding a field to a struct never reduces its size.  PR11745.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148056 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/AST/RecordLayoutBuilder.cpp
test/SemaCXX/empty-class-layout.cpp