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
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