[clang] [clang] Add new warning: not eliding copy on return (missed NRVO) (PR #139973)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Wed May 14 19:10:40 PDT 2025


mizvekov wrote:

> Thank you for your feedback. I added more tests. By "function templates with placeholder return types", do you mean something similar to create_object4 in my test case?

Yep. That's what I meant.

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


More information about the cfe-commits mailing list