[PATCH] D36143: [clang-format] Fix indent of 'key <...>' in text protos

2017-08-02 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir updated this revision to Diff 109322. krasimir added a comment. - Fix similar issue for 'key {...}' https://reviews.llvm.org/D36143 Files: lib/Format/ContinuationIndenter.cpp unittests/Format/FormatTestProto.cpp unittests/Format/FormatTestTextProto.cpp Index: unittests/Format/F

[PATCH] D36143: [clang-format] Fix indent of 'key <...>' in text protos

2017-08-01 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir created this revision. Herald added a subscriber: klimek. This patch fixes the indentation of the code pattern `key <...>` in text protos. Previously, such line would be alinged depending on the column of the previous colon, which usually indents too much. https://reviews.llvm.org/D3614