[PATCH] D143877: [NFC] [clang] Forward forwarding reference

Chris Cotter via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 13 15:41:14 PST 2023


ccotter added a comment.

Realistically, I'm not sure if this change is all that valuable aside from abiding by the CppCoreGuidelines from the readability and consistency standpoint. The only impact this change would have that I can think of is allowing an object with an `&&` (or other combination) qualified `operator()` that would be picked up by this change, which doesn't seem likely of a use case for this function. I'll try to add a small test that covers this and leave it to the maintainers whether this is a worthy change :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143877/new/

https://reviews.llvm.org/D143877



More information about the cfe-commits mailing list