This factors out a pattern that comes up from time to time.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D117769
[clang-format] Refactor: add FormatToken::hasWhitespaceBefore(). NFC. ClosedPublic Authored by curdeius on Jan 20 2022, 3:03 AM.
Details Summary This factors out a pattern that comes up from time to time.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 20 2022, 3:21 AM Closed by commit rG82452be5cbd7: [clang-format] Refactor: add FormatToken::hasWhitespaceBefore(). NFC. (authored by curdeius). · Explain WhyJan 20 2022, 12:16 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 401577 clang/lib/Format/Format.cpp
clang/lib/Format/FormatToken.h
clang/lib/Format/FormatTokenLexer.cpp
clang/lib/Format/TokenAnnotator.cpp
clang/lib/Format/UnwrappedLineParser.cpp
|