[PATCH] D67627: Clang-format: Add Whitesmiths indentation style
Tim Wojtulewicz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 16 10:49:31 PDT 2019
timwoj created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch adds support for the Whitesmiths indentation style to clang-format. It’s an update to a patch submitted in 2015 (D6833 <https://reviews.llvm.org/D6833>), but reworks it to use the newer API.
There are still some issues with this patch, primarily around `switch` and `case` support. The added unit test won’t currently pass because of the remaining issues.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D67627
Files:
clang/docs/ClangFormatStyleOptions.rst
clang/include/clang/Format/Format.h
clang/lib/Format/ContinuationIndenter.cpp
clang/lib/Format/Format.cpp
clang/lib/Format/UnwrappedLineFormatter.cpp
clang/unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67627.220360.patch
Type: text/x-patch
Size: 13515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190916/8e81378b/attachment.bin>
More information about the cfe-commits
mailing list