alexfh added a comment.

Sorry, I lost this patch. I've looked at the results and it still seems that 
the signal-to-noise ratio is quite low. There's definitely potential in using 
parameter name and argument spelling to detect possibly swapped arguments, and 
there's a recent research on this topic, where authors claim to have reached 
the true positive rate of 85% with decent recall. See 
https://research.google.com/pubs/pub46317.html. If you're interested in working 
on this check, I would suggest at least looking at the techniques described in 
that paper.


https://reviews.llvm.org/D20689



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to