[all-commits] [llvm/llvm-project] 4d9c93: [libc++] Adjust tests using ext/* headers that und...
john-brawn-arm via All-commits
all-commits at lists.llvm.org
Thu May 11 03:48:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4d9c936a3e1a647356226c0355a194b94465ad2c
https://github.com/llvm/llvm-project/commit/4d9c936a3e1a647356226c0355a194b94465ad2c
Author: John Brawn <john.brawn at arm.com>
Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths:
M libcxx/test/libcxx/assertions/headers_declare_verbose_abort.sh.cpp
M libcxx/test/libcxx/clang_tidy.sh.cpp
M libcxx/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp
M libcxx/test/libcxx/containers/gnu_cxx/hash_map_name_lookup.pass.cpp
M libcxx/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp
M libcxx/test/libcxx/containers/gnu_cxx/hash_set_name_lookup.pass.cpp
M libcxx/test/libcxx/double_include.sh.cpp
M libcxx/test/libcxx/extensions/hash/specializations.pass.cpp
M libcxx/test/libcxx/min_max_macros.compile.pass.cpp
M libcxx/test/libcxx/modules_include.sh.cpp
M libcxx/test/libcxx/nasty_macros.compile.pass.cpp
M libcxx/test/libcxx/no_assert_include.compile.pass.cpp
M libcxx/test/libcxx/transitive_includes.sh.cpp
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx2b.csv
M libcxx/utils/generate_header_tests.py
Log Message:
-----------
[libc++] Adjust tests using ext/* headers that undefine __DEPRECATED
Several tests undefined __DEPRECATED to avoid warnings as they're
testing the deprecated ext/hash_map. A better way to do this is to use
-Wno-deprecated so it isn't defined in the first place. This prevents
these tests from failing when we give a warning when undefining the
__DEPRECATED macro, as D144654 will do.
For the generated tests however just remove the testing of these
header files, so we don't disable the warning when testing the other
header files.
Differential Revision: https://reviews.llvm.org/D145691
More information about the All-commits
mailing list