aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2024-09-19 10:48:08 -0700
committerGitHub <noreply@github.com>2024-09-19 10:48:08 -0700
commitf009f72df5285acab0ebb600636653d7db72a552 (patch)
treea8d8e16b7cbf670f9278c2a990edc0718b1220c5 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parentcead9044a995910306e2e64b426fcc8042d7e0ef (diff)
downloadllvm-f009f72df5285acab0ebb600636653d7db72a552.zip
llvm-f009f72df5285acab0ebb600636653d7db72a552.tar.gz
llvm-f009f72df5285acab0ebb600636653d7db72a552.tar.bz2
[libc] Add printf strerror conversion (%m) (#105891)
This patch adds the %m conversion to printf, which prints the strerror(errno). Explanation of why is below, this patch also updates the docs, tests, and build system to accomodate this. The standard for syslog in posix specifies it uses the same format as printf, but adds %m which prints the error message string for the current value of errno. For ease of implementation, it's standard practice for libc implementers to just add %m to printf instead of creating a separate parser for syslog.
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions