[PATCH] D125626: [clang-format][NFC] Don't call mightFitOnOneLine() unnecessarily

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 15 14:23:29 PDT 2022


owenpan updated this revision to Diff 429560.
owenpan added a reviewer: sstwcw.
owenpan removed a subscriber: sstwcw.
owenpan added a comment.

Fixes typos and makes `KeepElseBraces` depend on `KeepIfBraces`.


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

https://reviews.llvm.org/D125626

Files:
  clang/lib/Format/FormatToken.h
  clang/lib/Format/UnwrappedLineParser.cpp
  clang/lib/Format/UnwrappedLineParser.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125626.429560.patch
Type: text/x-patch
Size: 13823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220515/2743752c/attachment-0001.bin>


More information about the cfe-commits mailing list