You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CIR] initial support for pointer-to-data-member type (llvm#401)
This patch adds initial support for the pointer-to-data-member type.
Specifically, this commit includes:
- New ops, types, and attributes:
- CodeGen for pointer-to-data-member types and values
- Lower C++ pointer-to-member type
- Lower C++ expression `&C::D`
- Lower C++ expression `c.*p` and `c->*p`
This patch only includes an initial support. The following stuff related
to pointer-to-member types are not supported yet:
- Pointer to member function;
- Conversion from `T Base::*` to `T Derived::*`;
- LLVMIR lowering.
0 commit comments