This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Move InsertBraces unit tests out of FormatTest.cpp
ClosedPublic

Authored by owenpan on Oct 24 2022, 8:33 PM.

Diff Detail

Event Timeline

owenpan created this revision.Oct 24 2022, 8:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2022, 8:33 PM
owenpan requested review of this revision.Oct 24 2022, 8:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2022, 8:33 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Is the intent here to somewhat reduce the 30k line behemoth of FormatTest.cpp?

Is the intent here to somewhat reduce the 30k line behemoth of FormatTest.cpp?

I'm all in for that! (And will provide a first patch soonish.)

This revision is now accepted and ready to land.Oct 25 2022, 12:40 PM

Is the intent here to somewhat reduce the 30k line behemoth of FormatTest.cpp?

See https://reviews.llvm.org/D136437#3877250 for the motivation.

Is the intent here to somewhat reduce the 30k line behemoth of FormatTest.cpp?

I'm all in for that! (And will provide a first patch soonish.)

Next I'll move RemoveBraces tests out of FormatTest.cpp in another patch.

This revision was landed with ongoing or failed builds.Oct 27 2022, 1:29 AM
This revision was automatically updated to reflect the committed changes.