[PATCH] D44569: [clang-format] Disallow breaks before ']' in text proto extensions

2018-03-16 Thread Krasimir Georgiev via Phabricator via cfe-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rL327716: [clang-format] Disallow breaks before ']' in text proto extensions (authored by krasimir, committed by ). Herald a

[PATCH] D44569: [clang-format] Disallow breaks before ']' in text proto extensions

2018-03-16 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir updated this revision to Diff 138710. krasimir added a comment. - Remove newlines Repository: rC Clang https://reviews.llvm.org/D44569 Files: lib/Format/TokenAnnotator.cpp unittests/Format/FormatTestTextProto.cpp Index: unittests/Format/FormatTestTextProto.cpp

[PATCH] D44569: [clang-format] Disallow breaks before ']' in text proto extensions

2018-03-16 Thread Krasimir Georgiev via Phabricator via cfe-commits
krasimir created this revision. Herald added subscribers: cfe-commits, klimek. This disallows patterns like `[ext.name\n]` in text protos. Repository: rC Clang https://reviews.llvm.org/D44569 Files: lib/Format/ContinuationIndenter.cpp lib/Format/TokenAnnotator.cpp unittests/Format/Form