================
@@ -369,11 +369,11 @@ void functional_casts() {
   throw S2(5.0f);
 }
 void f(int *);
-void f(double *);
 
+void f(double *);
 void test_nullptr_cast() {
   f((int*)nullptr);
 }
-// CHECK-MESSAGES: warning: C-style casts are discouraged
+// CHECK-MESSAGES: :[[@LINE-1]]:{{[0-9]+}}: warning: C-style casts are 
discouraged [modernize-avoid-c-style-cast]
----------------
zeyi2 wrote:

Please use exact numbers instead of regex :)

https://github.com/llvm/llvm-project/pull/173159
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to