[PATCH] D42685: [clang-format] Adds space around braces in text protos

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 05:05:57 PST 2018


krasimir created this revision.
krasimir added a reviewer: djasper.
Herald added subscribers: cfe-commits, klimek.

This patch modifies the text proto Google style to add spaces around braces.

I investigated using something different than Cpp11BracedListStyle, but it turns out it's what we want and also the java and js styles also depend on that.


Repository:
  rC Clang

https://reviews.llvm.org/D42685

Files:
  lib/Format/Format.cpp
  unittests/Format/FormatTestProto.cpp
  unittests/Format/FormatTestRawStrings.cpp
  unittests/Format/FormatTestTextProto.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42685.131947.patch
Type: text/x-patch
Size: 10877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180130/9f346db0/attachment.bin>


More information about the cfe-commits mailing list