[clang] [Clang] Make the result type of sizeof/pointer subtraction/size_t lit… (PR #136542)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 21 03:26:58 PDT 2025


================
@@ -320,22 +320,6 @@ void test_buf_size_concrete_with_multiplication(void) {
   // bugpath-warning{{The 1st argument to '__buf_size_arg_constraint_mul' is a buffer with size 6 but should be a buffer with size equal to or greater than the value of the 2nd argument (which is 4) times the 3rd argument (which is 2)}} \
   // bugpath-note{{The 1st argument to '__buf_size_arg_constraint_mul' is a buffer with size 6 but should be a buffer with size equal to or greater than the value of the 2nd argument (which is 4) times the 3rd argument (which is 2)}}
 }
-void test_buf_size_symbolic_with_multiplication(size_t s) {
----------------
steakhal wrote:

Why do you drop these tests?

https://github.com/llvm/llvm-project/pull/136542


More information about the cfe-commits mailing list