[all-commits] [llvm/llvm-project] 44e24d: [libc++] Remove test suite workarounds on Apple wi...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Apr 15 10:06:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44e24d8f998cf6e5bd5ca9c166562a841161a15a
      https://github.com/llvm/llvm-project/commit/44e24d8f998cf6e5bd5ca9c166562a841161a15a
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-04-15 (Thu, 15 Apr 2021)

  Changed paths:
    M libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp
    M libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp
    M libcxx/test/std/strings/c.strings/cstring.pass.cpp
    M libcxx/test/std/strings/c.strings/cwchar.pass.cpp

  Log Message:
  -----------
  [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


  Commit: 9178fb73e13cb5b486277deeafc69740f8c04c8a
      https://github.com/llvm/llvm-project/commit/9178fb73e13cb5b486277deeafc69740f8c04c8a
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-04-15 (Thu, 15 Apr 2021)

  Changed paths:
    M libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp
    M libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp
    M libcxx/test/std/strings/c.strings/cwchar.pass.cpp

  Log Message:
  -----------
  [libc++] NFC: Use ASSERT_SAME_TYPE consistently in string.h and wchar.h tests


Compare: https://github.com/llvm/llvm-project/compare/55487079a9bb...9178fb73e13c


More information about the All-commits mailing list