This is an archive of the discontinued LLVM Phabricator instance.

[Clang] Implement P2513
AbandonedPublic

Authored by cor3ntin on Oct 21 2022, 10:51 AM.

Details

Reviewers
None
Summary

This change allows initializing an array of unsigned char,
or char from u8 string literals.
This was done both to support legacy code and for compatibility
with C where char8_t will be typedef to unsigned char.

This is backported to C++20 as per WG21 guidance.

Diff Detail

Event Timeline

cor3ntin created this revision.Oct 21 2022, 10:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 21 2022, 10:51 AM
cor3ntin requested review of this revision.Oct 21 2022, 10:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 21 2022, 10:51 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
cor3ntin abandoned this revision.Oct 21 2022, 11:01 AM

Created by mistake