[MS ABI] Select a pointer to member representation more often
Given a reference to a pointer to member whose class's inheritance model is unspecified, make sure we come up with an inheritance model in plausible places. One place we were missing involved LValue to RValue conversion, another involved unary type traits. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247248 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Sema/SemaExpr.cpp 4 additions, 0 deletionslib/Sema/SemaExpr.cpp
- lib/Sema/SemaExprCXX.cpp 2 additions, 0 deletionslib/Sema/SemaExprCXX.cpp
- lib/Sema/SemaType.cpp 5 additions, 1 deletionlib/Sema/SemaType.cpp
- test/CodeGenCXX/microsoft-abi-member-pointers.cpp 16 additions, 0 deletionstest/CodeGenCXX/microsoft-abi-member-pointers.cpp
Loading
Please register or sign in to comment