This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Fix std::is_array<T[0]> and add tests
ClosedPublic

Authored by ldionne on Mar 31 2022, 6:30 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rG13796495ecbf: [libc++] Fix std::is_array<T[0]> and add tests

Diff Detail

Event Timeline

ldionne created this revision.Mar 31 2022, 6:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2022, 6:30 AM
ldionne requested review of this revision.Mar 31 2022, 6:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2022, 6:30 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne updated this revision to Diff 419833.Apr 1 2022, 12:38 PM
ldionne retitled this revision from [libc++] Test arrays with 0 size in our is_FOO_array tests to [libc++] Fix std::is_array<T[0]> and add tests.

Actually fix libc++'s implementation of std::is_array

ldionne updated this revision to Diff 420160.Apr 4 2022, 6:29 AM

Try to workaround clang-cl issue with mangled names by using int[0] instead of char[0]

ldionne accepted this revision.Apr 4 2022, 10:54 AM
This revision is now accepted and ready to land.Apr 4 2022, 10:54 AM
This revision was automatically updated to reflect the committed changes.