This is an archive of the discontinued LLVM Phabricator instance.

[libc++][NFCI] Remove uses of _LIBCPP_INLINE_VAR
ClosedPublic

Authored by ldionne on Sep 22 2021, 6:42 AM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Commits
rGcb793e1a3655: [libc++][NFCI] Remove uses of _LIBCPP_INLINE_VAR
Summary

All supported compilers provide support for inline variables in C++17 now.
Also, as a fly-by fix, replace some uses of _LIBCPP_CONSTEXPR by just
constexpr.

Diff Detail

Event Timeline

ldionne created this revision.Sep 22 2021, 6:42 AM
ldionne requested review of this revision.Sep 22 2021, 6:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2021, 6:42 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne updated this revision to Diff 374245.Sep 22 2021, 8:22 AM

Try to fix C++11 and C++14 build failures

This revision was not accepted when it landed; it landed in state Needs Review.Sep 22 2021, 1:03 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.