================
@@ -18,7 +18,7 @@ char *t0(char *base, int a, int b) {
   // CHECK-NOTES-CXX:                  static_cast<ptrdiff_t>( )
   // CHECK-NOTES-ALL: :[[@LINE-5]]:17: note: perform multiplication in a wider 
type
   // CHECK-NOTES-C:                    (ptrdiff_t)
-  // CHECK-NOTES-CXX:                  static_cast<ptrdiff_t>()
+  // CHECK-NOTES-CXX:                  static_cast<ptrdiff_t>( )
----------------
PiotrZSL wrote:

NOTE: This is legacy issue and shoudn't be fixed under this PR, but all those 
checks with CHECK-NOTES looks invalid. We should use CHECK-MESSAGES and 
CHECK-FIXES, in that case we could verify that fixed line after applying fix 
looks correctly instead of checking clang-tidy output.

https://github.com/llvm/llvm-project/pull/76315
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to