aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/test/clang-tidy/checkers/misc/unused-parameters-strict.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/checkers/misc/unused-parameters-strict.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/checkers/misc/unused-parameters-strict.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/test/clang-tidy/checkers/misc/unused-parameters-strict.cpp b/clang-tools-extra/test/clang-tidy/checkers/misc/unused-parameters-strict.cpp
index 319cefa..56d1306 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/misc/unused-parameters-strict.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/misc/unused-parameters-strict.cpp
@@ -5,14 +5,14 @@
namespace strict_mode {
void f(int foo) {}
// CHECK-MESSAGES: :[[@LINE-1]]:12: warning: parameter 'foo' is unused [misc-unused-parameters]
-// CHECK-FIXES: {{^}}void f(int /*foo*/) {}{{$}}
+// CHECK-FIXES: void f(int /*foo*/) {}
class E {
int i;
public:
E(int j) {}
// CHECK-MESSAGES: :[[@LINE-1]]:9: warning: parameter 'j' is unused
-// CHECK-FIXES: {{^}} E(int /*j*/) {}{{$}}
+// CHECK-FIXES: E(int /*j*/) {}
};
class F {
int i;
@@ -20,7 +20,7 @@ class F {
public:
F(int j) : i() {}
// CHECK-MESSAGES: :[[@LINE-1]]:9: warning: parameter 'j' is unused
-// CHECK-FIXES: {{^}} F(int /*j*/) : i() {}{{$}}
+// CHECK-FIXES: F(int /*j*/) : i() {}
};
// Do not warn on naked functions.