File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,16 +151,16 @@ namespace gh112089 {
151
151
namespace gh161978 {
152
152
void test () {
153
153
bool (*fp1)(int );
154
- // CHECK-MESSAGES: :[[@LINE-1]]:14 : warning: variable 'fp1' is not initialized [cppcoreguidelines-init-variables]
154
+ // CHECK-MESSAGES: :[[@LINE-1]]:12 : warning: variable 'fp1' is not initialized [cppcoreguidelines-init-variables]
155
155
// CHECK-FIXES: bool (*fp1)(int) = nullptr;
156
156
bool (*fp2)(int , int );
157
- // CHECK-MESSAGES: :[[@LINE-1]]:14 : warning: variable 'fp2' is not initialized [cppcoreguidelines-init-variables]
157
+ // CHECK-MESSAGES: :[[@LINE-1]]:12 : warning: variable 'fp2' is not initialized [cppcoreguidelines-init-variables]
158
158
// CHECK-FIXES: bool (*fp2)(int, int) = nullptr;
159
159
bool (*fp3)(int , int , int );
160
- // CHECK-MESSAGES: :[[@LINE-1]]:14 : warning: variable 'fp3' is not initialized [cppcoreguidelines-init-variables]
160
+ // CHECK-MESSAGES: :[[@LINE-1]]:12 : warning: variable 'fp3' is not initialized [cppcoreguidelines-init-variables]
161
161
// CHECK-FIXES: bool (*fp3)(int, int, int) = nullptr;
162
162
bool (*fp4)(int , int , int , ...);
163
- // CHECK-MESSAGES: :[[@LINE-1]]:14 : warning: variable 'fp4' is not initialized [cppcoreguidelines-init-variables]
163
+ // CHECK-MESSAGES: :[[@LINE-1]]:12 : warning: variable 'fp4' is not initialized [cppcoreguidelines-init-variables]
164
164
// CHECK-FIXES: bool (*fp4)(int, int, int, ...) = nullptr;
165
165
}
166
166
}
You can’t perform that action at this time.
0 commit comments