================ @@ -0,0 +1,33 @@ +// RUN: %clang_cc1 -std=c++20 -Wno-all -Wformat \ +// RUN: -verify=expected-format %s +// RUN: %clang_cc1 -std=c++20 -Wno-all -Wunsafe-buffer-usage -Wunsafe-buffer-usage-in-format-attr-call \ +// RUN: -verify %s ---------------- AaronBallman wrote:
I think we can drop the `-std=c++20` because there's nothing C++20-specific in the test. Also, we don't usually do `-Wno-all`, I think that can be dropped (though you may need to change the second `-verify` to include the format diagnostics, you can do that with `-verify=expected,expected-format`). https://github.com/llvm/llvm-project/pull/178320 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
