================
@@ -728,6 +728,38 @@ void FactsGenerator::handleInvalidatingCall(const Expr
*Call,
ThisList->getOuterOriginID(), Call));
}
+void FactsGenerator::handleImplicitObjectFieldUses(const Expr *Call,
+ const FunctionDecl *FD) {
+ const auto *MemberCall = dyn_cast_or_null<CXXMemberCallExpr>(Call);
+ if (!MemberCall)
+ return;
+
+ if (!isa_and_present<CXXThisExpr>(
+ MemberCall->getImplicitObjectArgument()->IgnoreImpCasts()))
+ return;
+
+ const auto *MD = dyn_cast<CXXMethodDecl>(FD);
+ assert(MD && "Expected MD to be a non-null pointer");
+
----------------
NeKon69 wrote:
If possible, could you please create this as a committable suggestion? I do not
think I will be able to change this any time soon today..
https://github.com/llvm/llvm-project/pull/191731
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits