Adds a new check readability-const-value-return, which checks for functions with
a const-qualified return type and recommends removal of the const keyword.
Such use of const is superfluous, and prevents valuable compiler
optimizations.
Based in large part on work done by Justin A. Middleton, summer 2018 and in small part on the (abandoned) review https://reviews.llvm.org/D33531.
It isn't immediately clear whether this is talking about
or
I'd suggest to emphasize that this is about the const on the return type, not on the function.