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
Showing
- include/clang/Sema/Sema.h 1 addition, 0 deletionsinclude/clang/Sema/Sema.h
- lib/CodeGen/ItaniumCXXABI.cpp 29 additions, 5 deletionslib/CodeGen/ItaniumCXXABI.cpp
- lib/Sema/SemaExpr.cpp 21 additions, 9 deletionslib/Sema/SemaExpr.cpp
- test/CodeGenCXX/anonymous-union-member-initializer.cpp 14 additions, 0 deletionstest/CodeGenCXX/anonymous-union-member-initializer.cpp
Loading
Please register or sign in to comment