Change to non-deprecated function template (see D121075).
Thanks for fixing the use. I was about to submit a change myself but saw that you had a similar one and decided to ask.
In this particular instance I thought it was better to fix the call site rather than ignore the warning / error. I can't speak to the preferences of the entire LLVM community, however.