This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Fix indent of 'key <...>' and 'key {...}' in text protos
ClosedPublic

Authored by krasimir on Aug 1 2017, 5:36 AM.

Details

Summary

This patch fixes the indentation of the code pattern key <...>and key {...} in text protos.
Previously, such line would be alinged depending on the column of the previous
colon, which usually indents too much.

Event Timeline

krasimir created this revision.Aug 1 2017, 5:36 AM
krasimir updated this revision to Diff 109322.Aug 2 2017, 4:37 AM
  • Fix similar issue for 'key {...}'
krasimir retitled this revision from [clang-format] Fix indent of 'key <...>' in text protos to [clang-format] Fix indent of 'key <...>' and 'key {...}' in text protos.Aug 2 2017, 4:38 AM
krasimir edited the summary of this revision. (Show Details)
krasimir updated this revision to Diff 109551.Aug 3 2017, 7:14 AM
  • Rebase with master
This revision was automatically updated to reflect the committed changes.