================
@@ -929,6 +930,8 @@ void FactsGenerator::handleMovedArgsInCall(const 
FunctionDecl *FD,
   for (unsigned I = IsInstance;
        I < Args.size() && I < FD->getNumParams() + IsInstance; ++I) {
     const ParmVarDecl *PVD = FD->getParamDecl(I - IsInstance);
+    if (PVD->isExplicitObjectParameter())
----------------
arhwx wrote:

Yes, but also because marking them as moved would trigger a 
`-Wlifetime-safety-lifetimebound-violation` warning on code that trunk accepts 
and would switch your t1 and t2 from `return-stack-addr` to 
`return-stack-addr-moved`.

https://github.com/llvm/llvm-project/pull/212154
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to