]> granicus.if.org Git - clang/commit
Amazing that there are still issues with the fields of anonymous struct/unions..
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 31 Jan 2011 07:04:29 +0000 (07:04 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 31 Jan 2011 07:04:29 +0000 (07:04 +0000)
commit0413db4a26b0a1577b75c2979b0eb21f3490d17a
tree2b37d0d4244ef9ea4f370e6e2fa8149b008b7028
parentd4d3ce6ed8d4981a18d013f8694c762c47b44c77
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