This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Fix __verbose_abort in C++11
ClosedPublic

Authored by ldionne on Apr 27 2023, 10:55 AM.

Details

Reviewers
philnik
Group Reviewers
Restricted Project
Commits
rG867c966c7d1f: [libc++] Fix __verbose_abort in C++11
Summary

__use() can't be marked as constexpr in C++11 because it returns void,
which is not a literal type. But it turns out that we just don't need
to define it at all, since it's never called outside of decltype.

Diff Detail

Event Timeline

ldionne created this revision.Apr 27 2023, 10:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2023, 10:55 AM
ldionne requested review of this revision.Apr 27 2023, 10:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2023, 10:55 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
philnik accepted this revision.Apr 27 2023, 11:01 AM
This revision is now accepted and ready to land.Apr 27 2023, 11:01 AM
This revision was landed with ongoing or failed builds.Apr 28 2023, 12:30 PM
This revision was automatically updated to reflect the committed changes.