[all-commits] [llvm/llvm-project] 8492ad: [libc] adjust printf macro test to use all 64 bits...

Michael Jones via All-commits all-commits at lists.llvm.org
Tue Jul 9 10:55:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8492ad5964606c0b96e32c697def7e9701bb5d5a
      https://github.com/llvm/llvm-project/commit/8492ad5964606c0b96e32c697def7e9701bb5d5a
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M libc/test/src/stdio/sprintf_test.cpp

  Log Message:
  -----------
  [libc] adjust printf macro test to use all 64 bits (#98195)

The previous printf macro test for 64 bit octal used the number 0123,
which is not large enough to ensure that the macro is actually reading a
64 bit number. This patch enlarges the number, and also makes sure the
return value of sprintf is correct for the macro tests.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list