================
@@ -163,9 +163,27 @@ void FactsGenerator::VisitCXXMemberCallExpr(const 
CXXMemberCallExpr *MCE) {
   }
 }
 
+static bool isStdMove(const FunctionDecl *FD) {
----------------
Xazax-hun wrote:

I think if we have a simple heuristics to detect "transparent" functions like 
`move` that just propagates the same origin and look through them in our 
analysis, the simple logic to stop tacking origins that are passed as an rvalue 
reference will start to work. But this is out of scope for this PR. 

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

Reply via email to