[clang] [Clang][Sema] Use the correct lookup context when building overloaded 'operator->' in the current instantiation (PR #104458)

Krystian Stasiowski via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 3 09:18:30 PDT 2024


================
@@ -7939,7 +7927,14 @@ ExprResult Sema::ActOnStartCXXMemberReference(Scope *S, Expr *Base,
           }
         }
         return ExprError();
+      } else if (Result.isUnset()) {
+        // BuildOverloadedArrowExpr returns an empty expression to indicate
+        // that we need to build a dependent overloaded arrow expression.
----------------
sdkrystian wrote:

@cor3ntin Pushed changes that do what you described

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


More information about the cfe-commits mailing list