================ @@ -12,8 +12,8 @@ // RUN: %clang_cc1 -triple=x86_64-pc-linux-gnu -std=c11 -fsyntax-only -Wformat -verify=okay %s // Verify that -Wformat-signedness with -Wno-format are not reported (gcc compat). ---------------- karka228 wrote:
The -Wformat-signedness warning was implemented to work the same way as the same warning do in gcc. This patch seems to remove that gcc compatibility. With this patch `-Wformat-signedness` is now controlled by `-Wformat-pedantic` instead of `-Wformat` (as in gcc). I don't know how important it is for clang to be gcc compatible in this way (@AaronBallman what do you think?). At least this comment need to be updated as it no longer match the test below. https://github.com/llvm/llvm-project/pull/88595 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits