HomePhabricator

[libc++] Make rotate a constexpr.

Authored by zoecarver on Sep 14 2020, 1:52 PM.

Description

[libc++] Make rotate a constexpr.

This patch makes std::rotate a constexpr. In doing so, this patch also
updates the internal __move and __move_backward funtions to be
constexpr.

Reviewed By: ldionne

Differential Revision: https://reviews.llvm.org/D65721

Details

Committed
zoecarverSep 14 2020, 1:56 PM
Reviewer
ldionne
Differential Revision
D65721: Make rotate a constexpr
Parents
rGc193a689b475: [SelectionDAG] Use Align/MaybeAlign in calls to…
Branches
Unknown
Tags
Unknown
Reverted By
rGed653184ac63: Revert "[libc++] Make rotate a constexpr."