[PATCH] D93240: [clang-format] Add SpaceBeforeCaseColon option
Björn Schäpers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 14 13:21:29 PST 2020
HazardyKnusperkeks created this revision.
HazardyKnusperkeks added reviewers: MyDeveloperDay, klimek, djasper.
HazardyKnusperkeks added a project: clang-format.
HazardyKnusperkeks requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
If ``false``, spaces will be removed before case colon.
true: false
switch (x) { vs. switch (x) {
case 1 : break; case 1: break;
} }
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93240
Files:
clang/docs/ClangFormatStyleOptions.rst
clang/docs/ReleaseNotes.rst
clang/include/clang/Format/Format.h
clang/lib/Format/Format.cpp
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93240.311683.patch
Type: text/x-patch
Size: 9067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201214/218cf9bf/attachment.bin>
More information about the cfe-commits
mailing list