kazutakahirata wrote:

> Are you finding those automatically with a tool? Or just stumbled upon it?

Somewhat automatically.  Put `[[deprecated]]` on `insert` and `try_emplace`, 
collect warnings from the build, and look for `find` and `contain` in the few 
lines prior to `insert` and `try_emplace`.  I guess I could use `clang-query`, 
too.



https://github.com/llvm/llvm-project/pull/107490
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to