This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Update clang-format to C++20.
ClosedPublic

Authored by Mordante on Oct 28 2021, 8:51 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rG4cb3d7d7b4ab: [libc++] Update clang-format to C++20.
Summary

We now use clang-format-13 which has the option SpacesInAngles. This
allows us to switch the default language version to C++20, which should
avoid breaking code when formatting due to the adding of whitespace.
For example u8"foo" no longer is formatted as u8 "foo".

Diff Detail

Event Timeline

Mordante requested review of this revision.Oct 28 2021, 8:51 AM
Mordante created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptOct 28 2021, 8:51 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Oct 28 2021, 9:36 AM
This revision is now accepted and ready to land.Oct 28 2021, 9:36 AM
This revision was landed with ongoing or failed builds.Oct 30 2021, 3:51 AM
This revision was automatically updated to reflect the committed changes.