[PATCH] D19066: clang-format: `SpaceAfterTemplate` and `SpacesInBraces` options
Maxime Beaulieu via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 13 11:12:43 PDT 2016
mxbOctasic created this revision.
mxbOctasic added a reviewer: djasper.
mxbOctasic added subscribers: cameron314, cfe-commits.
Herald added a subscriber: klimek.
This patch adds two new spacing options.
`SpaceAfterTemplate` inserts a space between the template keyword and the opening chevron.
`SpacesInBraces` inserts spaces in short and empty brace blocks.
Patch by cameron314.
http://reviews.llvm.org/D19066
Files:
include/clang/Format/Format.h
lib/Format/Format.cpp
lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineFormatter.cpp
unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19066.53591.patch
Type: text/x-patch
Size: 6383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160413/bd0d6198/attachment.bin>
More information about the cfe-commits
mailing list