krasimir marked an inline comment as done. krasimir added inline comments.
================ Comment at: unittests/Format/FormatTestTextProto.cpp:317 + +TEST_F(FormatTestTextProto, FormatsExtensions) { + verifyFormat("[type] { key: value }"); ---------------- djasper wrote: > It might be useful to attach a test case for what happens if the "[...]" does > not fit on one line. I don't even know how I would format that, but it seems > important to know and not accidentally modify the behavior. I added some tests. The current behavior seems reasonable. Repository: rC Clang https://reviews.llvm.org/D43180 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits