================
@@ -256,6 +256,21 @@ QualType HeuristicResolverImpl::simplifyType(QualType 
Type, const Expr *E,
         }
       }
     }
+    // check if member expr is in the context of an explicit object method
----------------
HighCommander4 wrote:

I would reword / expand on this as:

```c++
// Check if the expression refers to an explicit object parameter of templated 
type.
// If so, heuristically treat it as having the type of the enclosing class.
```

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

Reply via email to