[PATCH] D48432: [clang-format] Add AlwaysBreakBeforeMultilineString tests
Jacek Olesiak via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 21 07:45:22 PDT 2018
jolesiak created this revision.
Herald added a subscriber: cfe-commits.
Repository:
rC Clang
https://reviews.llvm.org/D48432
Files:
unittests/Format/FormatTestObjC.cpp
Index: unittests/Format/FormatTestObjC.cpp
===================================================================
--- unittests/Format/FormatTestObjC.cpp
+++ unittests/Format/FormatTestObjC.cpp
@@ -1227,6 +1227,15 @@
" @\"cccc\");");
verifyFormat("aaaa(qqq, @\"bbbb\"\n"
" @\"cccc\");");
+ verifyFormat("[aaaa qqqq:@\"bbbb\"\n"
+ " @\"cccc\"];");
+ verifyFormat("aaaa = [aaaa qqqq:@\"bbbb\"\n"
+ " @\"cccc\"];");
+ verifyFormat("[aaaa qqqq:@\"bbbb\"\n"
+ " @\"cccc\"\n"
+ " rr:42\n"
+ " ssssss:@\"ee\"\n"
+ " @\"fffff\"];");
}
} // end namespace
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48432.152298.patch
Type: text/x-patch
Size: 739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180621/73b4fe04/attachment.bin>
More information about the cfe-commits
mailing list