[PATCH] D94500: Rework Whitesmiths mode to use line-level values in UnwrappedLineParser

Tim Wojtulewicz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 27 16:38:42 PST 2021


timwoj updated this revision to Diff 319716.
timwoj added a comment.

- Make LineLevel an enum class
- Combine multiple duplicate checks into a named variable
- Minor formatting fixes


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94500/new/

https://reviews.llvm.org/D94500

Files:
  clang/lib/Format/UnwrappedLineFormatter.cpp
  clang/lib/Format/UnwrappedLineParser.cpp
  clang/lib/Format/UnwrappedLineParser.h
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94500.319716.patch
Type: text/x-patch
Size: 12505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210128/1967d636/attachment.bin>


More information about the cfe-commits mailing list