================
@@ -590,6 +590,26 @@ static ProgramStateRef
getInlineFailedState(ProgramStateRef State,
void ExprEngine::VisitCallExpr(const CallExpr *CE, ExplodedNode *Pred,
ExplodedNodeSet &dst) {
+ if (const auto *OCE = dyn_cast<CXXOperatorCallExpr>(CE)) {
+ // For instance method operators, make sure the 'this' argument has a
+ // valid region.
+ // FIXME: Why is this only applied for operator calls and not other calls?
----------------
steakhal wrote:
In short, IDK. It's suspicious that we don't have the same for
`CXXMemberCallExprs` as well.
https://github.com/llvm/llvm-project/pull/200837
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits