This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Don't use static constexpr in headers.
ClosedPublic

Authored by Mordante on Jun 2 2022, 8:27 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rGdea7a8e616da: [libc++] Don't use static constexpr in headers.
Summary

This was noticed in the review of D125704. In that commit only the new
table has been adapted. This adapts the existing tables.

Note since libc++'s charconv is backported to C++11 it's not possible to
use inline constexpr variables. The were introduced in C++17.

Diff Detail

Event Timeline

Mordante created this revision.Jun 2 2022, 8:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2022, 8:27 AM
Mordante requested review of this revision.Jun 2 2022, 8:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2022, 8:27 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Jun 7 2022, 8:43 AM
This revision is now accepted and ready to land.Jun 7 2022, 8:43 AM
This revision was landed with ongoing or failed builds.Jun 7 2022, 9:47 AM
This revision was automatically updated to reflect the committed changes.