[PATCH] D127005: [clang-format][NFC] Clean up the unwrapped line parser
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 3 14:50:04 PDT 2022
owenpan created this revision.
owenpan added reviewers: curdeius, HazardyKnusperkeks, MyDeveloperDay.
owenpan added a project: clang-format.
Herald added a project: All.
owenpan requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Change the interfaces of `parseBlock()`, `parseLevel()`, and `parseStructuralElement()` to support combining `else` and `if` when removing braces. See https://github.com/llvm/llvm-project/issues/55663.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127005
Files:
clang/lib/Format/UnwrappedLineParser.cpp
clang/lib/Format/UnwrappedLineParser.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127005.434147.patch
Type: text/x-patch
Size: 10240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220603/5ae699ff/attachment.bin>
More information about the cfe-commits
mailing list