zporky added a comment.

Agree that we could make an attempt to detect "related" parameters.
A possible heuristic to detect "related arguments" would be to look for 
interactions between  these arguments, e.g. check whether we use them in 
specific operations, e.g.

// tipical for related iterators
par1 == par2
par1 != par2 
etc

// tipical for pointers
par1 - par2 
*par1 = *par2

and similar.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69560/new/

https://reviews.llvm.org/D69560



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

Reply via email to