Skip to content
Commit 45500fa0 authored by Daniil Kalinin's avatar Daniil Kalinin Committed by Nikolas Klauser
Browse files

[libc++] Fix the signature of std::rotl and std::rotr

- Changed parameters type in `std::rotr` and `std::rorl` functions from `unsigned int` to `int`.
- Implemented behaviour for negative parameter values.

Fixes #64544

Reviewed By: #libc, philnik

Spies: arichardson, philnik, libcxx-commits

Differential Revision: https://reviews.llvm.org/D157569
parent 415d9e8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment