]> granicus.if.org Git - clang/commit
Fix half of PR26048. We don't yet diagnose the case where the anonymous union member...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 6 Jan 2016 21:54:29 +0000 (21:54 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 6 Jan 2016 21:54:29 +0000 (21:54 +0000)
commit8c1b069d417d337d7468283f71b416d87613b00f
tree7b39682f033c38e064a2b3c36fd24b5fd01fdbe3
parent659f23a7000d1a12e215d564542b497c58e1318c
Fix half of PR26048. We don't yet diagnose the case where the anonymous union member is declared first and the tag name is declared second.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256979 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CXX/class/class.mem/p13.cpp
test/CXX/class/class.union/class.union.anon/p1.cpp [new file with mode: 0644]
test/CXX/class/class.union/class.union.anon/p4.cpp [moved from test/CXX/class/class.union/p8.cpp with 100% similarity]
test/SemaCXX/anonymous-union.cpp