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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to