[all-commits] [llvm/llvm-project] e734bc: [libc++] Remove _LIBCPP_HAS_NO_FGETPOS_FSETPOS (#7...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Mon Nov 13 00:43:38 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e734bc53de8173a1b54493f3e0c8f70575341a9e
https://github.com/llvm/llvm-project/commit/e734bc53de8173a1b54493f3e0c8f70575341a9e
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-11-13 (Mon, 13 Nov 2023)
Changed paths:
M libcxx/include/__config
M libcxx/include/cstdio
R libcxx/test/libcxx/depr/depr.c.headers/no_fgetpos_fsetpos.verify.cpp
M libcxx/test/std/depr/depr.c.headers/stdio_h.compile.pass.cpp
M libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp
M libcxx/test/support/test_macros.h
Log Message:
-----------
[libc++] Remove _LIBCPP_HAS_NO_FGETPOS_FSETPOS (#72073)
Instead of using individual macros to turn off missing C library
features, we use the using_if_exists attribute now. This patch removes
the _LIBCPP_HAS_NO_FGETPOS_FSETPOS macro used to workaround missing
fgetpos and fsetpos on older versions of Android -- using_if_exists
should take care of those in the headers and we should add appropriate
XFAILs to the tests instead of using TEST_HAS_NO_FGETPOS_FSETPOS.
More information about the All-commits
mailing list