HomePhabricator

[libc] Add a standalone flavor of an equivalent of std::string_view.

Authored by sivachandra on Feb 23 2021, 12:13 AM.

Description

[libc] Add a standalone flavor of an equivalent of std::string_view.

This class is to serve as a replacement for llvm::StringRef as part of
the plans to limit dependency on other parts of LLVM. One use of
llvm::StringRef in MPFRWrapper has been replaced with the new class.

Reviewed By: lntue

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

Details

Committed
sivachandraFeb 23 2021, 3:40 PM
Reviewer
lntue
Differential Revision
D97330: [libc] Add a standalone flavor of an equivalent of std::string_view.
Parents
rGb79507a4acad: [libc] Add exhaustive test for sqrtf.
Branches
Unknown
Tags
Unknown