This test shows the problem in https://bugs.llvm.org/show_bug.cgi?id=33734
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
These tests should be added after https://bugs.llvm.org/show_bug.cgi?id=33734 is fixed.
 Differential  D35225  
[clang-tidy] add regression test to performance-unnecessary-value-param Authored by chh on Jul 10 2017, 4:20 PM. 
Details 
Diff Detail Event TimelineComment Actions These tests should be added after https://bugs.llvm.org/show_bug.cgi?id=33734 is fixed.  | 
I'd leave this test alone and add a separate one to test the fix in the header.