[libc++] Remove test suite workarounds on Apple with old Clangs
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 14 Apr 2021 13:31:52 +0000 (09:31 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Thu, 15 Apr 2021 17:06:06 +0000 (13:06 -0400)
commit44e24d8f998cf6e5bd5ca9c166562a841161a15a
tree3d1786c15d91cbb3731c949397075b6787a51c11
parent55487079a9bb039103615a78500d1cdd4de474ab
[libc++] Remove test suite workarounds on Apple with old Clangs

In 5fd17ab, we worked around the Apple system headers not providing
const-correct overloads for some <string.h> functions. However, that
required an attribute that was only present in recent Clangs at the
time. We can now assume that all supported Clang versions on Apple
platforms do support that attribute.

Differential Revision: https://reviews.llvm.org/D100477
libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp
libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp
libcxx/test/std/strings/c.strings/cstring.pass.cpp
libcxx/test/std/strings/c.strings/cwchar.pass.cpp