[PATCH] D43322: Diagnose cases of "return x" that should be "return std::move(x)" for efficiency
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 23 03:18:02 PST 2018
lebedev.ri added a comment.
Somewhat related thing i have noticed: https://godbolt.org/g/ow58JV
I wonder whether that also should be diagnosed? Where though, as clang-tidy check?
Repository:
rC Clang
https://reviews.llvm.org/D43322
More information about the cfe-commits
mailing list