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.
Paths
| Differential D42685
[clang-format] Adds space around braces in text protos ClosedPublic Authored by krasimir on Jan 30 2018, 5:04 AM.
Details Summary 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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 30 2018, 6:20 AM Closed by commit rC323860: [clang-format] Adds space around braces in text protos (authored by krasimir). · Explain WhyJan 31 2018, 2:16 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 131947 lib/Format/Format.cpp
unittests/Format/FormatTestProto.cpp
unittests/Format/FormatTestRawStrings.cpp
unittests/Format/FormatTestTextProto.cpp
|