================
@@ -137,21 +151,20 @@ CapabilityExpr SExprBuilder::translateAttrExpr(const Expr
*AttrExp,
if (!DeclExp)
/* We'll use Self. */;
else if (const auto *ME = dyn_cast<MemberExpr>(DeclExp)) {
- Ctx.SelfArg = ME->getBase();
- Ctx.SelfArrow = ME->isArrow();
+ Ctx.SelfArg = ME->getBase();
} else if (const auto *CE = dyn_cast<CXXMemberCallExpr>(DeclExp)) {
----------------
aaronpuchert wrote:
C++ also has member function pointers. But they're used rarely enough that
maybe we don't need to worry about them.
https://github.com/llvm/llvm-project/pull/231602
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits