summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2013-06-17 17:18:51 +0000
committerSerge Pavlov <sepavloff@gmail.com>2013-06-17 17:18:51 +0000
commit0dcea35c21b001c9c2c9b4d4a8cfd4c82dc5f00c (patch)
tree90e83f1fb477ec9db33be31e18f869b1800402f2 /lib/CodeGen/CodeGenFunction.cpp
parentd395e34ae7aeeeaf9a37a12bc0f6de87158c95c3 (diff)
downloadclang-0dcea35c21b001c9c2c9b4d4a8cfd4c82dc5f00c.tar.gz
clang-0dcea35c21b001c9c2c9b4d4a8cfd4c82dc5f00c.tar.bz2
clang-0dcea35c21b001c9c2c9b4d4a8cfd4c82dc5f00c.tar.xz
Clean up empty struct/union recognition.
Make use of getTypeSizeInChars to detect structs/unions of zero size. It allows more accurate detection of types of zero size. It however has a side effect - sequence of used types may change, that is why the test 'override-layout' was modified. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions