[clang] [clang-tools-extra] [Clang] Implement CWG2813: Class member access with prvalues (PR #120223)

via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 17 04:44:26 PST 2024


================
@@ -1162,6 +1195,9 @@ Sema::BuildMemberReferenceExpr(Expr *BaseExpr, QualType BaseExprType,
       valueKind = VK_PRValue;
       type = Context.BoundMemberTy;
----------------
Sirraide wrote:

Don’t we need to call `MakeGLValue()` in the then-clause here too?

https://github.com/llvm/llvm-project/pull/120223


More information about the cfe-commits mailing list