nicovank wrote: I was over-complicating the task. Instead of trying to match the type of the parameter with the type of the argument, I can just match the types of both parameters. Since on "normal" containers methods will have the same signature minus name, this shouldn't remove any true positives due to conversions.
See updated simplified PR. Number of matches on llvm-project is the same with or without `hasParameter(0, ...)` clauses. https://github.com/llvm/llvm-project/pull/107521 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits