]> granicus.if.org Git - clang/commit
[clang-format] Add space between a message field key and the opening bracket in proto...
authorKrasimir Georgiev <krasimir@google.com>
Thu, 6 Jul 2017 13:58:29 +0000 (13:58 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Thu, 6 Jul 2017 13:58:29 +0000 (13:58 +0000)
commitda0b9bb7b03533a4855a395a83a098fecf3f6556
tree44ae4ac4544d83916fa8b24940f8c8aa180e685b
parentf7e486629c1484d91197739790471f291d36867c
[clang-format] Add space between a message field key and the opening bracket in proto messages

Summary:
This patch updates the formatting of message fields of type `a{...}` to `a {...}`
for proto messages.

Reviewers: djasper

Reviewed By: djasper

Subscribers: klimek, cfe-commits

Differential Revision: https://reviews.llvm.org/D35015

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307261 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTestProto.cpp
unittests/Format/FormatTestTextProto.cpp