Allow static_assert inside an anonymous union; fixes PR20021 as well as implements...
authorAaron Ballman <aaron@aaronballman.com>
Tue, 24 Jun 2014 16:22:41 +0000 (16:22 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 24 Jun 2014 16:22:41 +0000 (16:22 +0000)
commitf93ef4e45029908df3eedc6d1a70d2911c179d7f
treee495ad635c4aab1e4be973bc562e8d58fcbc4571
parentb1d4dbdcc7ef0791e8d5cc4a0b3dbe971d56fb78
Allow static_assert inside an anonymous union; fixes PR20021 as well as implements C++ Issue 1940.

llvm-svn: 211606
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaCXX/anonymous-union-cxx11.cpp