[llvm] [memprof] Use a lambda instead of std::bind (NFC) (PR #144940)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 19 13:27:41 PDT 2025


snehasish wrote:

> But I did not consider that you have to pass the object you are calling on into the call. Sorry for the noise.

TIL about std::mem_fn from your comment, thanks!

https://github.com/llvm/llvm-project/pull/144940


More information about the llvm-commits mailing list