[clang] [clang][AST] Pass ProfileArguments by value in findSpecialization{Impl,Locally} (PR #139489)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Sun May 11 20:07:22 PDT 2025


HighCommander4 wrote:

(This came up during https://github.com/llvm/llvm-project/issues/139019 as a potential diagnosis, but it does not fix the crash. As mentioned, no one was in fact moving from the arguments, so passing them by rvalue reference and forwarding them multiple times in the same function was just poor style rather than an actual bug.)

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


More information about the cfe-commits mailing list