Amazing that there are still issues with the fields of anonymous struct/unions..
commit699bf489b4f38a13d073a82b6f73758b493a3663
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Mon, 31 Jan 2011 07:04:29 +0000 (31 07:04 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Mon, 31 Jan 2011 07:04:29 +0000 (31 07:04 +0000)
tree2b37d0d4244ef9ea4f370e6e2fa8149b008b7028
parent4e2b7d849f9b920a3dcbb90cfd5dc91d2de85321
Amazing that there are still issues with the fields of anonymous struct/unions..
Allow taking the address of such a field for a pointer-to-member constant. Fixes rdar://8818236.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124575 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/CodeGen/ItaniumCXXABI.cpp
lib/Sema/SemaExpr.cpp
test/CodeGenCXX/anonymous-union-member-initializer.cpp