aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-bugfix-name-conflicts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-bugfix-name-conflicts.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-bugfix-name-conflicts.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-bugfix-name-conflicts.cpp b/clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-bugfix-name-conflicts.cpp
index 2e79aa9..3197c5f 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-bugfix-name-conflicts.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-bugfix-name-conflicts.cpp
@@ -5,9 +5,9 @@
int func(int Break) {
// CHECK-MESSAGES: :[[@LINE-1]]:14: warning: invalid case style for parameter 'Break'; cannot be fixed because 'break' would conflict with a keyword
- // CHECK-FIXES: {{^}}int func(int Break) {{{$}}
+ // CHECK-FIXES: int func(int Break) {
if (Break == 1) {
- // CHECK-FIXES: {{^}} if (Break == 1) {{{$}}
+ // CHECK-FIXES: if (Break == 1) {
return 2;
}
@@ -17,9 +17,9 @@ int func(int Break) {
#define foo 3
int func2(int Foo) {
// CHECK-MESSAGES: :[[@LINE-1]]:15: warning: invalid case style for parameter 'Foo'; cannot be fixed because 'foo' would conflict with a macro definition
- // CHECK-FIXES: {{^}}int func2(int Foo) {{{$}}
+ // CHECK-FIXES: int func2(int Foo) {
if (Foo == 1) {
- // CHECK-FIXES: {{^}} if (Foo == 1) {{{$}}
+ // CHECK-FIXES: if (Foo == 1) {
return 2;
}
@@ -28,9 +28,9 @@ int func2(int Foo) {
int func3(int _0Bad) {
// CHECK-MESSAGES: :[[@LINE-1]]:15: warning: invalid case style for parameter '_0Bad'; cannot be fixed automatically [readability-identifier-naming]
- // CHECK-FIXES: {{^}}int func3(int _0Bad) {{{$}}
+ // CHECK-FIXES: int func3(int _0Bad) {
if (_0Bad == 1) {
- // CHECK-FIXES: {{^}} if (_0Bad == 1) {{{$}}
+ // CHECK-FIXES: if (_0Bad == 1) {
return 2;
}
return 0;