]> granicus.if.org Git - clang/commit
Don't crash when mangling empty anonymous unions. We never actually *need*
authorJohn McCall <rjmccall@apple.com>
Thu, 5 Aug 2010 22:02:13 +0000 (22:02 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 5 Aug 2010 22:02:13 +0000 (22:02 +0000)
commit7121c8f551d9c91c0cf0e5e1f7f9aafa97241b17
tree099aaf34b7e07f43b544874e611430fcb00954bc
parenta7be5065edc93ab52a25b2588a23a41a4beba21e
Don't crash when mangling empty anonymous unions.  We never actually *need*
these, but it's convenient to mangle them when deferring them (in the 99.99%
case where it's not an anonymous union, of course).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110381 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/Mangle.cpp
test/CodeGenCXX/mangle.cpp