Clean up UnwrappedLineParser for RemoveBracesLLVM to avoid calling mightFitOnOneLine() as much as possible.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D125626
[clang-format][NFC] Don't call mightFitOnOneLine() unnecessarily ClosedPublic Authored by owenpan on May 15 2022, 2:05 AM.
Details Summary Clean up UnwrappedLineParser for RemoveBracesLLVM to avoid calling mightFitOnOneLine() as much as possible.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 15 2022, 6:27 AM Closed by commit rG9dffab9d524a: [clang-format][NFC] Don't call mightFitOnOneLine() unnecessarily (authored by owenpan). · Explain WhyMay 16 2022, 2:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 429661 clang/lib/Format/FormatToken.h
clang/lib/Format/UnwrappedLineParser.h
clang/lib/Format/UnwrappedLineParser.cpp
|