This shortens the run-time of FormatTests by about 10% on average (and by up to 50% if formatting would not change the input).
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D158925
[clang-format][NFC] Skip stability test if input is pre-formatted ClosedPublic Authored by owenpan on Aug 26 2023, 3:28 AM.
Details Summary This shortens the run-time of FormatTests by about 10% on average (and by up to 50% if formatting would not change the input).
Diff Detail Event TimelineHerald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptAug 26 2023, 3:28 AM
This revision is now accepted and ready to land.Aug 26 2023, 1:29 PM Closed by commit rGc8521451708a: [clang-format][NFC] Skip stability test if input is pre-formatted (authored by owenpan). · Explain WhyAug 26 2023, 2:48 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 553714 clang/unittests/Format/FormatTestBase.h
|
Will fix it before landing.