Lines Matching refs:getLLVMStyleWithColumns
44 FormatStyle getLLVMStyleWithColumns(unsigned ColumnLimit) { in getLLVMStyleWithColumns() function in clang::format::FormatTest
151 26, 0, getLLVMStyleWithColumns(12))); in TEST_F()
158 25, 0, getLLVMStyleWithColumns(12))); in TEST_F()
631 " }", getLLVMStyleWithColumns(20)); in TEST_F()
635 getLLVMStyleWithColumns(40)); in TEST_F()
692 getLLVMStyleWithColumns(34)); in TEST_F()
801 getLLVMStyleWithColumns(20)); in TEST_F()
912 getLLVMStyleWithColumns(60)); in TEST_F()
917 getLLVMStyleWithColumns(61)); in TEST_F()
1021 getLLVMStyleWithColumns(33))); in TEST_F()
1158 getLLVMStyleWithColumns(40))); in TEST_F()
1165 getLLVMStyleWithColumns(35))); in TEST_F()
1173 getLLVMStyleWithColumns(20))); in TEST_F()
1178 getLLVMStyleWithColumns(10))); in TEST_F()
1183 getLLVMStyleWithColumns(10))); in TEST_F()
1188 getLLVMStyleWithColumns(30))); in TEST_F()
1191 getLLVMStyleWithColumns(20))); in TEST_F()
1194 format("//Add leading whitespace", getLLVMStyleWithColumns(20))); in TEST_F()
1199 getLLVMStyleWithColumns(51))); in TEST_F()
1204 getLLVMStyleWithColumns(15))); in TEST_F()
1212 getLLVMStyleWithColumns(20))); in TEST_F()
1222 getLLVMStyleWithColumns(40))); in TEST_F()
1225 getLLVMStyleWithColumns(20))); in TEST_F()
1229 format("#define XXX // a b c d e f g h", getLLVMStyleWithColumns(22))); in TEST_F()
1233 format("#define XXX //q w e r t y u i", getLLVMStyleWithColumns(22))); in TEST_F()
1242 getLLVMStyleWithColumns(20))); in TEST_F()
1248 getLLVMStyleWithColumns(20))); in TEST_F()
1264 getLLVMStyleWithColumns(50))); in TEST_F()
1274 getLLVMStyleWithColumns(49))); in TEST_F()
1278 FormatStyle Pragmas = getLLVMStyleWithColumns(30); in TEST_F()
1295 getLLVMStyleWithColumns(40))); in TEST_F()
1302 getLLVMStyleWithColumns(40))); in TEST_F()
1309 getLLVMStyleWithColumns(40))); in TEST_F()
1315 getLLVMStyleWithColumns(40))); in TEST_F()
1327 getLLVMStyleWithColumns(17))); in TEST_F()
1338 getLLVMStyleWithColumns(17))); in TEST_F()
1361 getLLVMStyleWithColumns(20))); in TEST_F()
1367 getLLVMStyleWithColumns(10))); in TEST_F()
1373 getLLVMStyleWithColumns(10))); in TEST_F()
1383 "*/", getLLVMStyleWithColumns(20))); in TEST_F()
1395 " */", getLLVMStyleWithColumns(20))); in TEST_F()
1406 getLLVMStyleWithColumns(20))); in TEST_F()
1413 getLLVMStyleWithColumns(20))); in TEST_F()
1429 "}", getLLVMStyleWithColumns(20))); in TEST_F()
1447 "}", getLLVMStyleWithColumns(20))); in TEST_F()
1456 " */", getLLVMStyleWithColumns(20))); in TEST_F()
1467 getLLVMStyleWithColumns(30))); in TEST_F()
1475 getLLVMStyleWithColumns(20))); in TEST_F()
1489 getLLVMStyleWithColumns(20))); in TEST_F()
1501 format("/* a a */", getLLVMStyleWithColumns(15))); in TEST_F()
1503 format("/* a a bc */", getLLVMStyleWithColumns(15))); in TEST_F()
1506 format("/* aaa aaa aaaaa */", getLLVMStyleWithColumns(15))); in TEST_F()
1509 format("/* aaa aaa aaaaa */", getLLVMStyleWithColumns(15))); in TEST_F()
1527 getLLVMStyleWithColumns(20))); in TEST_F()
1537 getLLVMStyleWithColumns(20))); in TEST_F()
1546 getLLVMStyleWithColumns(20))); in TEST_F()
1840 getLLVMStyleWithColumns(32)); in TEST_F()
1883 getLLVMStyleWithColumns(30)); in TEST_F()
2186 getLLVMStyleWithColumns(40)); in TEST_F()
2210 getLLVMStyleWithColumns(50)); in TEST_F()
2216 getLLVMStyleWithColumns(60)); in TEST_F()
2265 getLLVMStyleWithColumns(40)); in TEST_F()
2267 getLLVMStyleWithColumns(40)); in TEST_F()
2272 getLLVMStyleWithColumns(40))); in TEST_F()
2289 getLLVMStyleWithColumns(12))); in TEST_F()
2313 verifyFormat("#define A(BB)", getLLVMStyleWithColumns(13)); in TEST_F()
2314 verifyFormat("#define A( \\\n BB)", getLLVMStyleWithColumns(12)); in TEST_F()
2315 verifyFormat("#define A( \\\n A, B)", getLLVMStyleWithColumns(12)); in TEST_F()
2317 verifyFormat("#define AA( \\\n B)", getLLVMStyleWithColumns(12)); in TEST_F()
2322 verifyFormat("#define Something Other", getLLVMStyleWithColumns(23)); in TEST_F()
2323 verifyFormat("#define Something \\\n Other", getLLVMStyleWithColumns(22)); in TEST_F()
2339 getLLVMStyleWithColumns(13))); in TEST_F()
2351 getLLVMStyleWithColumns(14))); in TEST_F()
2390 verifyFormat("#define A \\\n b #c;", getLLVMStyleWithColumns(11)); in TEST_F()
2395 getLLVMStyleWithColumns(11)); in TEST_F()
2399 getLLVMStyleWithColumns(22)); in TEST_F()
2403 getLLVMStyleWithColumns(22)); in TEST_F()
2405 verifyFormat("#define A void # ## #", getLLVMStyleWithColumns(22)); in TEST_F()
2417 getLLVMStyleWithColumns(25))); in TEST_F()
2426 getLLVMStyleWithColumns(11))); in TEST_F()
2435 getLLVMStyleWithColumns(11))); in TEST_F()
2443 getLLVMStyleWithColumns(20)); in TEST_F()
2449 getLLVMStyleWithColumns(28)); in TEST_F()
2626 "};", getLLVMStyleWithColumns(40))); in TEST_F()
2633 " });", getLLVMStyleWithColumns(11)); in TEST_F()
2646 format("#define A { {\nint i;", getLLVMStyleWithColumns(11))); in TEST_F()
2648 format("#define A } }\nint i;", getLLVMStyleWithColumns(11))); in TEST_F()
2654 format("#define A \\\nint i;\\\n int j;", getLLVMStyleWithColumns(11))); in TEST_F()
2667 getLLVMStyleWithColumns(11)); in TEST_F()
2700 getLLVMStyleWithColumns(69)); in TEST_F()
2738 getLLVMStyleWithColumns(28)); in TEST_F()
2828 getLLVMStyleWithColumns(40)); in TEST_F()
2848 getLLVMStyleWithColumns(29))); in TEST_F()
3055 getLLVMStyleWithColumns(75)); in TEST_F()
3107 getLLVMStyleWithColumns(30)); in TEST_F()
3173 getLLVMStyleWithColumns(45)); in TEST_F()
3176 getLLVMStyleWithColumns(44)); in TEST_F()
3179 getLLVMStyleWithColumns(43)); in TEST_F()
3210 getLLVMStyleWithColumns(60)); in TEST_F()
3276 getLLVMStyleWithColumns(65)); in TEST_F()
3303 getLLVMStyleWithColumns(65)); in TEST_F()
3323 getLLVMStyleWithColumns(65)); in TEST_F()
3452 getLLVMStyleWithColumns(47)); in TEST_F()
3455 getLLVMStyleWithColumns(47)); in TEST_F()
3474 getLLVMStyleWithColumns(46)); in TEST_F()
3674 FormatStyle Style = getLLVMStyleWithColumns(15); in TEST_F()
3927 getLLVMStyleWithColumns(70)); in TEST_F()
4107 getLLVMStyleWithColumns(28))); in TEST_F()
4130 getLLVMStyleWithColumns(23)); in TEST_F()
4140 getLLVMStyleWithColumns(25)); in TEST_F()
4275 getLLVMStyleWithColumns(70)); in TEST_F()
4282 getLLVMStyleWithColumns(70)); in TEST_F()
4469 getLLVMStyleWithColumns(72)); in TEST_F()
4516 getLLVMStyleWithColumns(74)); in TEST_F()
4566 getLLVMStyleWithColumns(60)); in TEST_F()
4822 getLLVMStyleWithColumns(19)); in TEST_F()
4866 getLLVMStyleWithColumns(50))); in TEST_F()
4955 getLLVMStyleWithColumns(15)); in TEST_F()
5186 getLLVMStyleWithColumns(35)); in TEST_F()
5201 getLLVMStyleWithColumns(30)); in TEST_F()
5263 getLLVMStyleWithColumns(20)); in TEST_F()
5267 getLLVMStyleWithColumns(20)); in TEST_F()
5332 getLLVMStyleWithColumns(10))); in TEST_F()
5339 getLLVMStyleWithColumns(25)); in TEST_F()
5433 getLLVMStyleWithColumns(30))); in TEST_F()
5518 getLLVMStyleWithColumns(39)); in TEST_F()
5521 getLLVMStyleWithColumns(38)); in TEST_F()
5524 getLLVMStyleWithColumns(43)); in TEST_F()
5530 getLLVMStyleWithColumns(39)); in TEST_F()
5534 getLLVMStyleWithColumns(39)); in TEST_F()
5539 getLLVMStyleWithColumns(39)); in TEST_F()
5544 getLLVMStyleWithColumns(60)); in TEST_F()
5595 getLLVMStyleWithColumns(15)); in TEST_F()
5597 verifyFormat("void f() { return 42; }", getLLVMStyleWithColumns(23)); in TEST_F()
5598 verifyFormat("void f() {\n return 42;\n}", getLLVMStyleWithColumns(22)); in TEST_F()
5600 verifyFormat("void f() {}", getLLVMStyleWithColumns(11)); in TEST_F()
5601 verifyFormat("void f() {\n}", getLLVMStyleWithColumns(10)); in TEST_F()
5638 getLLVMStyleWithColumns(20)); in TEST_F()
5641 getLLVMStyleWithColumns(21)); in TEST_F()
5647 getLLVMStyleWithColumns(22)); in TEST_F()
5651 getLLVMStyleWithColumns(23)); in TEST_F()
5743 getLLVMStyleWithColumns(65)); in TEST_F()
5823 getLLVMStyleWithColumns(15))); in TEST_F()
5830 getLLVMStyleWithColumns(15))); in TEST_F()
5841 getLLVMStyleWithColumns(10))); in TEST_F()
5851 getLLVMStyleWithColumns(10))); in TEST_F()
5922 getLLVMStyleWithColumns(20))); in TEST_F()
5932 getLLVMStyleWithColumns(20))); in TEST_F()
5941 getLLVMStyleWithColumns(15))); in TEST_F()
5947 getLLVMStyleWithColumns(15))); in TEST_F()
5956 getLLVMStyleWithColumns(15))); in TEST_F()
6396 getLLVMStyleWithColumns(70)); in TEST_F()
6729 11, 0, getLLVMStyleWithColumns(11))); in TEST_F()
6758 format("\"some text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
6761 format("\\\n\"some text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
6767 format("#define A \"some text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
6773 format("#define A \"so text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
6776 format("\"some text\"", getLLVMStyleWithColumns(1))); in TEST_F()
6778 format("\"some text\"", getLLVMStyleWithColumns(11))); in TEST_F()
6781 format("\"some text\"", getLLVMStyleWithColumns(10))); in TEST_F()
6784 format("\"some text\"", getLLVMStyleWithColumns(7))); in TEST_F()
6788 format("\"some text\"", getLLVMStyleWithColumns(6))); in TEST_F()
6792 format("\"some tex and\"", getLLVMStyleWithColumns(6))); in TEST_F()
6796 format("\"some/tex/and\"", getLLVMStyleWithColumns(6))); in TEST_F()
6802 getLLVMStyleWithColumns(20))); in TEST_F()
6811 getLLVMStyleWithColumns(20))); in TEST_F()
6817 getLLVMStyleWithColumns(20))); in TEST_F()
6823 getLLVMStyleWithColumns(20))); in TEST_F()
6827 format("f(\"one two\".split(variable));", getLLVMStyleWithColumns(20))); in TEST_F()
6833 getLLVMStyleWithColumns(33))); in TEST_F()
6838 format("f(\"some text\", other);", getLLVMStyleWithColumns(10))); in TEST_F()
6850 format("\"splitmeatrandompoint\"", getLLVMStyleWithColumns(10))); in TEST_F()
6856 format("\"split/pathat/slashes\"", getLLVMStyleWithColumns(10))); in TEST_F()
6862 format("\"split/pathat/slashes\"", getLLVMStyleWithColumns(10))); in TEST_F()
6876 getLLVMStyleWithColumns(20))); in TEST_F()
6905 FormatStyle AlignLeft = getLLVMStyleWithColumns(12); in TEST_F()
6965 FormatStyle Style = getLLVMStyleWithColumns(20); in TEST_F()
7070 getLLVMStyleWithColumns(25))); in TEST_F()
7074 getLLVMStyleWithColumns(26))); in TEST_F()
7079 getLLVMStyleWithColumns(25))); in TEST_F()
7084 getLLVMStyleWithColumns(24))); in TEST_F()
7089 getLLVMStyleWithColumns(25))); in TEST_F()
7093 getLLVMStyleWithColumns(25))); in TEST_F()
7098 getLLVMStyleWithColumns(25))); in TEST_F()
7105 getLLVMStyleWithColumns(20))); in TEST_F()
7111 getLLVMStyleWithColumns(25))); in TEST_F()
7116 format("\"\\a\"", getLLVMStyleWithColumns(3))); in TEST_F()
7118 format("\"\\\"", getLLVMStyleWithColumns(2))); in TEST_F()
7121 format("\"test\\n\"", getLLVMStyleWithColumns(7))); in TEST_F()
7124 format("\"tes\\\\n\"", getLLVMStyleWithColumns(7))); in TEST_F()
7127 format("\"\\\\\\\\\\n\"", getLLVMStyleWithColumns(7))); in TEST_F()
7129 format("\"\\uff01\"", getLLVMStyleWithColumns(7))); in TEST_F()
7132 format("\"\\uff01test\"", getLLVMStyleWithColumns(8))); in TEST_F()
7134 format("\"\\Uff01ff02\"", getLLVMStyleWithColumns(11))); in TEST_F()
7137 format("\"\\x000000000001next\"", getLLVMStyleWithColumns(16))); in TEST_F()
7139 format("\"\\x000000000001next\"", getLLVMStyleWithColumns(15))); in TEST_F()
7141 format("\"\\x000000000001\"", getLLVMStyleWithColumns(7))); in TEST_F()
7145 format("\"test\\000000000001\"", getLLVMStyleWithColumns(9))); in TEST_F()
7149 format("\"test\\000000000001\"", getLLVMStyleWithColumns(10))); in TEST_F()
7176 getLLVMStyleWithColumns(12)); in TEST_F()
7180 FormatStyle EightIndent = getLLVMStyleWithColumns(18); in TEST_F()
7204 getLLVMStyleWithColumns(8)); in TEST_F()
7208 FormatStyle Tab = getLLVMStyleWithColumns(42); in TEST_F()
8371 getLLVMStyleWithColumns(12))); in TEST_F()
8387 getLLVMStyleWithColumns(35)); in TEST_F()
8389 getLLVMStyleWithColumns(31)); in TEST_F()
8391 getLLVMStyleWithColumns(36)); in TEST_F()
8393 getLLVMStyleWithColumns(32)); in TEST_F()
8395 getLLVMStyleWithColumns(39)); in TEST_F()
8397 getLLVMStyleWithColumns(35)); in TEST_F()
8407 format("\"aaaaÄ\xc2\x8d\";", getLLVMStyleWithColumns(10))); in TEST_F()
8410 format("\"aaaaaaaÄ\xc2\x8d\";", getLLVMStyleWithColumns(10))); in TEST_F()
8417 getLLVMStyleWithColumns(13))); in TEST_F()
8423 getLLVMStyleWithColumns(11))); in TEST_F()
8430 getLLVMStyleWithColumns(11))); in TEST_F()
8440 getLLVMStyleWithColumns(30))); in TEST_F()
8445 format("// aaaaÄ\xc2\x8d", getLLVMStyleWithColumns(10))); in TEST_F()
8451 getLLVMStyleWithColumns(13))); in TEST_F()
8456 format("// 一二三 四五六七 八 九 十", getLLVMStyleWithColumns(9))); in TEST_F()
8470 getLLVMStyleWithColumns(13))); in TEST_F()
8476 format("/* 一二三 四五六七 八 九 十 */", getLLVMStyleWithColumns(9))); in TEST_F()
8480 format("/* - */", getLLVMStyleWithColumns(12))); in TEST_F()
8826 getLLVMStyleWithColumns(60)); in TEST_F()
8844 getLLVMStyleWithColumns(40)); in TEST_F()
8854 getLLVMStyleWithColumns(60)); in TEST_F()
8908 format("\"aaaaaaa bbbbbbb\";\r\n", getLLVMStyleWithColumns(10))); in TEST_F()
8938 FormatStyle TwoIndent = getLLVMStyleWithColumns(15); in TEST_F()
8946 FormatStyle SixIndent = getLLVMStyleWithColumns(20); in TEST_F()