This is an archive of the discontinued LLVM Phabricator instance.

[clang-format][NFC] Format lib/Format and unittests/Format in clang
ClosedPublic

Authored by owenpan on Jun 8 2022, 5:26 PM.

Details

Summary

Run clang-format 5ead1f1 with InsertBraces and RemoveBracesLLVM in clang/lib/Format and clang/unittests/Format.

Diff Detail

Event Timeline

owenpan created this revision.Jun 8 2022, 5:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2022, 5:26 PM
owenpan requested review of this revision.Jun 8 2022, 5:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2022, 5:26 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
curdeius accepted this revision.Jun 8 2022, 11:36 PM

LGTM.

clang/unittests/Format/FormatTest.cpp
25442

This line was just left unformatted, right? Or there was a recent change in the behaviour?

This revision is now accepted and ready to land.Jun 8 2022, 11:36 PM
This revision was landed with ongoing or failed builds.Jun 9 2022, 2:26 AM
This revision was automatically updated to reflect the committed changes.
owenpan added inline comments.Jun 9 2022, 3:00 AM
clang/unittests/Format/FormatTest.cpp
25442

It was unformatted. I must have forgotten to run git-clang-format.