]> granicus.if.org Git - clang/commit
Add missing diagnostic for anonymous struct/union definitions that don't
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 24 Apr 2019 00:08:02 +0000 (00:08 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 24 Apr 2019 00:08:02 +0000 (00:08 +0000)
commit01f976def19d3a1f90fa7dc40d11f15b9f610d2c
tree4bfb78da65edb3a1167f83f59cd89f2c936de949
parent3c6b6a75981035c3cd23e3052b17fac8a0194a29
Add missing diagnostic for anonymous struct/union definitions that don't
introduce any names.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359051 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Sema/SemaDecl.cpp
test/Analysis/unions.cpp
test/CXX/class/class.union/class.union.anon/p4.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p4.cpp
test/CXX/drs/dr13xx.cpp
test/CXX/drs/dr14xx.cpp
test/CXX/drs/dr19xx.cpp
test/CXX/module/module.interface/p3.cpp
test/SemaCXX/anonymous-struct.cpp
test/SemaCXX/anonymous-union.cpp
test/SemaCXX/constant-expression-cxx11.cpp
test/SemaCXX/cxx0x-deleted-default-ctor.cpp