================
@@ -1621,6 +1621,10 @@ QualType CallExpr::getCallReturnType(const ASTContext 
&Ctx) const {
     // This should never be overloaded and so should never return null.
     CalleeType = Expr::findBoundMemberType(Callee);
     assert(!CalleeType.isNull());
+  } else if (CalleeType->isRecordType()) {
+    // If the Callee is a record type, then it is a not-yet-resolved
+    // dependent call to call operator of that type.
----------------
AaronBallman wrote:

```suggestion
    // dependent call to the call operator of that type.
```
Minor grammar nit.

https://github.com/llvm/llvm-project/pull/68078
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to