diff options
-rw-r--r-- | clang-tools-extra/test/clang-tidy/performance-unnecessary-value-param-header.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/clang-tools-extra/test/clang-tidy/performance-unnecessary-value-param-header.cpp b/clang-tools-extra/test/clang-tidy/performance-unnecessary-value-param-header.cpp index 661abde46e0..9e4c24650f6 100644 --- a/clang-tools-extra/test/clang-tidy/performance-unnecessary-value-param-header.cpp +++ b/clang-tools-extra/test/clang-tidy/performance-unnecessary-value-param-header.cpp @@ -1,6 +1,8 @@ -// RUN: cp %S/Inputs/performance-unnecessary-value-param/header.h %T/header.h -// RUN: %check_clang_tidy %s performance-unnecessary-value-param %t -- -- -std=c++11 -I %T -// RUN: diff %T/header.h %S/Inputs/performance-unnecessary-value-param/header-fixed.h +// RUN: rm -rf %t +// RUN: mkdir %t +// RUN: cp %S/Inputs/performance-unnecessary-value-param/header.h %t/header.h +// RUN: %check_clang_tidy %s performance-unnecessary-value-param %t/temp -- -- -std=c++11 -I %t +// RUN: diff %t/header.h %S/Inputs/performance-unnecessary-value-param/header-fixed.h #include "header.h" |