malcolm.parsons added a comment. In https://reviews.llvm.org/D26453#590636, @flx wrote: > Is the modernize-pass-by-value check configurable in a way to only trigger when copied constructor arguments are not moved? No; good idea. https://reviews.llvm.org/D26453