This is an archive of the discontinued LLVM Phabricator instance.

[libc++][NFC] Suppress -Wdeprecated-literal-operator
ClosedPublic

Authored by rZhBoYao on Jul 13 2023, 6:49 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rGbd03e0ca7572: [libc++][NFC] Suppress -Wdeprecated-literal-operator
Summary

Remove spaces between operator"" and identifier to suppress
-Wdeprecated-literal-operator, and between operator and ""
like how they are written in [string.view.literals] and [basic.string.literals].

Diff Detail

Event Timeline

rZhBoYao created this revision.Jul 13 2023, 6:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2023, 6:49 AM
rZhBoYao requested review of this revision.Jul 13 2023, 6:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2023, 6:49 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
rZhBoYao retitled this revision from [libc++][NFC] Suppress deprecation warning introduced by D152632 to [libc++][NFC] Suppress -Wdeprecated-literal-operator.Jul 13 2023, 6:49 AM

co_awaiting https://reviews.llvm.org/D152632 to pass CI to see if this patch fixes the issues...

ldionne accepted this revision.Jul 13 2023, 1:48 PM

LGTM, we appreciate you fixing this before landing the Clang patch.

This revision is now accepted and ready to land.Jul 13 2023, 1:48 PM
This revision was automatically updated to reflect the committed changes.