Lines Matching refs:getLLVMStyleWithColumns

51   FormatStyle getLLVMStyleWithColumns(unsigned ColumnLimit) {  in getLLVMStyleWithColumns()  function in clang::format::__anon4a65ed390111::FormatTest
466 getLLVMStyleWithColumns(62)); in TEST_F()
501 getLLVMStyleWithColumns(76)); in TEST_F()
668 getLLVMStyleWithColumns(20)); in TEST_F()
672 getLLVMStyleWithColumns(40)); in TEST_F()
734 getLLVMStyleWithColumns(34)); in TEST_F()
911 getLLVMStyleWithColumns(20)); in TEST_F()
1029 getLLVMStyleWithColumns(60)); in TEST_F()
1034 getLLVMStyleWithColumns(61)); in TEST_F()
1084 getLLVMStyleWithColumns(33))); in TEST_F()
1201 FormatStyle Style = getLLVMStyleWithColumns(20); in TEST_F()
1228 getLLVMStyleWithColumns(40))); in TEST_F()
1235 getLLVMStyleWithColumns(35))); in TEST_F()
1243 getLLVMStyleWithColumns(20))); in TEST_F()
1248 getLLVMStyleWithColumns(20))); in TEST_F()
1253 getLLVMStyleWithColumns(20))); in TEST_F()
1257 format("// a b c d e f g h i j k", getLLVMStyleWithColumns(10))); in TEST_F()
1262 format("\\\n// a b c d e f g h i j k", getLLVMStyleWithColumns(10))); in TEST_F()
1267 getLLVMStyleWithColumns(30))); in TEST_F()
1270 getLLVMStyleWithColumns(20))); in TEST_F()
1273 format("//Add leading whitespace", getLLVMStyleWithColumns(20))); in TEST_F()
1276 format("///Add leading whitespace", getLLVMStyleWithColumns(20))); in TEST_F()
1279 format("//!Add leading whitespace", getLLVMStyleWithColumns(20))); in TEST_F()
1284 getLLVMStyleWithColumns(51))); in TEST_F()
1289 getLLVMStyleWithColumns(15))); in TEST_F()
1297 getLLVMStyleWithColumns(20))); in TEST_F()
1307 getLLVMStyleWithColumns(40))); in TEST_F()
1310 getLLVMStyleWithColumns(20))); in TEST_F()
1314 format("#define XXX // a b c d e f g h", getLLVMStyleWithColumns(22))); in TEST_F()
1318 format("#define XXX //q w e r t y u i", getLLVMStyleWithColumns(22))); in TEST_F()
1327 getLLVMStyleWithColumns(20))); in TEST_F()
1333 getLLVMStyleWithColumns(20))); in TEST_F()
1349 getLLVMStyleWithColumns(50))); in TEST_F()
1359 getLLVMStyleWithColumns(49))); in TEST_F()
1363 FormatStyle Pragmas = getLLVMStyleWithColumns(30); in TEST_F()
1380 getLLVMStyleWithColumns(40))); in TEST_F()
1387 getLLVMStyleWithColumns(40))); in TEST_F()
1394 getLLVMStyleWithColumns(40))); in TEST_F()
1400 getLLVMStyleWithColumns(40))); in TEST_F()
1412 getLLVMStyleWithColumns(17))); in TEST_F()
1423 getLLVMStyleWithColumns(17))); in TEST_F()
1446 getLLVMStyleWithColumns(20))); in TEST_F()
1452 format("/* a b c d e f g h i j k */", getLLVMStyleWithColumns(10))); in TEST_F()
1458 format("\\\n/* a b c d e f g h i j k */", getLLVMStyleWithColumns(10))); in TEST_F()
1469 getLLVMStyleWithColumns(20))); in TEST_F()
1482 getLLVMStyleWithColumns(20))); in TEST_F()
1493 getLLVMStyleWithColumns(20))); in TEST_F()
1500 getLLVMStyleWithColumns(20))); in TEST_F()
1517 getLLVMStyleWithColumns(20))); in TEST_F()
1536 getLLVMStyleWithColumns(20))); in TEST_F()
1546 getLLVMStyleWithColumns(20))); in TEST_F()
1557 getLLVMStyleWithColumns(30))); in TEST_F()
1565 getLLVMStyleWithColumns(20))); in TEST_F()
1579 getLLVMStyleWithColumns(20))); in TEST_F()
1590 getLLVMStyleWithColumns(20))); in TEST_F()
1602 format("/* a a */", getLLVMStyleWithColumns(15))); in TEST_F()
1604 format("/* a a bc */", getLLVMStyleWithColumns(15))); in TEST_F()
1607 format("/* aaa aaa aaaaa */", getLLVMStyleWithColumns(15))); in TEST_F()
1610 format("/* aaa aaa aaaaa */", getLLVMStyleWithColumns(15))); in TEST_F()
1628 getLLVMStyleWithColumns(20))); in TEST_F()
1638 getLLVMStyleWithColumns(20))); in TEST_F()
1647 getLLVMStyleWithColumns(20))); in TEST_F()
1983 getLLVMStyleWithColumns(32)); in TEST_F()
2026 getLLVMStyleWithColumns(30)); in TEST_F()
2482 getLLVMStyleWithColumns(40)); in TEST_F()
2506 getLLVMStyleWithColumns(50)); in TEST_F()
2512 getLLVMStyleWithColumns(60)); in TEST_F()
2569 getLLVMStyleWithColumns(40)); in TEST_F()
2572 getLLVMStyleWithColumns(40)); in TEST_F()
2577 getLLVMStyleWithColumns(40)); in TEST_F()
2579 getLLVMStyleWithColumns(40)); in TEST_F()
2584 getLLVMStyleWithColumns(40))); in TEST_F()
2601 getLLVMStyleWithColumns(12))); in TEST_F()
2629 verifyFormat("#define A(BB)", getLLVMStyleWithColumns(13)); in TEST_F()
2630 verifyFormat("#define A( \\\n BB)", getLLVMStyleWithColumns(12)); in TEST_F()
2631 verifyFormat("#define A( \\\n A, B)", getLLVMStyleWithColumns(12)); in TEST_F()
2633 verifyFormat("#define AA( \\\n B)", getLLVMStyleWithColumns(12)); in TEST_F()
2638 verifyFormat("#define Something Other", getLLVMStyleWithColumns(23)); in TEST_F()
2639 verifyFormat("#define Something \\\n Other", getLLVMStyleWithColumns(22)); in TEST_F()
2655 getLLVMStyleWithColumns(13))); in TEST_F()
2667 getLLVMStyleWithColumns(14))); in TEST_F()
2681 verifyFormat("#define A \\\n b #c;", getLLVMStyleWithColumns(11)); in TEST_F()
2686 getLLVMStyleWithColumns(11)); in TEST_F()
2690 getLLVMStyleWithColumns(22)); in TEST_F()
2694 getLLVMStyleWithColumns(22)); in TEST_F()
2696 verifyFormat("#define A void # ## #", getLLVMStyleWithColumns(22)); in TEST_F()
2708 getLLVMStyleWithColumns(25))); in TEST_F()
2717 getLLVMStyleWithColumns(11))); in TEST_F()
2726 getLLVMStyleWithColumns(11))); in TEST_F()
2734 getLLVMStyleWithColumns(20)); in TEST_F()
2740 getLLVMStyleWithColumns(28)); in TEST_F()
2748 getLLVMStyleWithColumns(15)); in TEST_F()
2755 getLLVMStyleWithColumns(15)); in TEST_F()
2946 getLLVMStyleWithColumns(40))); in TEST_F()
2956 getLLVMStyleWithColumns(11)); in TEST_F()
2969 format("#define A { {\nint i;", getLLVMStyleWithColumns(11))); in TEST_F()
2971 format("#define A } }\nint i;", getLLVMStyleWithColumns(11))); in TEST_F()
2977 format("#define A \\\nint i;\\\n int j;", getLLVMStyleWithColumns(11))); in TEST_F()
3000 getLLVMStyleWithColumns(11)); in TEST_F()
3033 getLLVMStyleWithColumns(69)); in TEST_F()
3071 getLLVMStyleWithColumns(28)); in TEST_F()
3179 getLLVMStyleWithColumns(40)); in TEST_F()
3199 getLLVMStyleWithColumns(29))); in TEST_F()
3381 getLLVMStyleWithColumns(75)); in TEST_F()
3432 getLLVMStyleWithColumns(30)); in TEST_F()
3552 getLLVMStyleWithColumns(45)); in TEST_F()
3555 getLLVMStyleWithColumns(44)); in TEST_F()
3558 getLLVMStyleWithColumns(43)); in TEST_F()
3562 getLLVMStyleWithColumns(45)); in TEST_F()
3596 getLLVMStyleWithColumns(60)); in TEST_F()
3667 getLLVMStyleWithColumns(65)); in TEST_F()
3694 getLLVMStyleWithColumns(65)); in TEST_F()
3714 getLLVMStyleWithColumns(65)); in TEST_F()
3865 getLLVMStyleWithColumns(47)); in TEST_F()
3868 getLLVMStyleWithColumns(47)); in TEST_F()
3887 getLLVMStyleWithColumns(46)); in TEST_F()
4125 FormatStyle Style = getLLVMStyleWithColumns(15); in TEST_F()
4397 FormatStyle Style = getLLVMStyleWithColumns(40); in TEST_F()
4479 getLLVMStyleWithColumns(70)); in TEST_F()
4690 getLLVMStyleWithColumns(28))); in TEST_F()
4713 getLLVMStyleWithColumns(23)); in TEST_F()
4723 getLLVMStyleWithColumns(25)); in TEST_F()
5015 getLLVMStyleWithColumns(70)); in TEST_F()
5022 getLLVMStyleWithColumns(70)); in TEST_F()
5219 getLLVMStyleWithColumns(72)); in TEST_F()
5276 getLLVMStyleWithColumns(74)); in TEST_F()
5334 getLLVMStyleWithColumns(60)); in TEST_F()
5651 getLLVMStyleWithColumns(19)); in TEST_F()
5683 getLLVMStyleWithColumns(76)); in TEST_F()
5709 getLLVMStyleWithColumns(50))); in TEST_F()
5820 getLLVMStyleWithColumns(15)); in TEST_F()
6065 verifyNoCrash("a[,Y?)]", getLLVMStyleWithColumns(10)); in TEST_F()
6085 getLLVMStyleWithColumns(35)); in TEST_F()
6102 getLLVMStyleWithColumns(30)); in TEST_F()
6168 getLLVMStyleWithColumns(20)); in TEST_F()
6172 getLLVMStyleWithColumns(20)); in TEST_F()
6238 getLLVMStyleWithColumns(10))); in TEST_F()
6245 getLLVMStyleWithColumns(25)); in TEST_F()
6363 getLLVMStyleWithColumns(30))); in TEST_F()
6461 getLLVMStyleWithColumns(39)); in TEST_F()
6464 getLLVMStyleWithColumns(38)); in TEST_F()
6467 getLLVMStyleWithColumns(43)); in TEST_F()
6485 getLLVMStyleWithColumns(60)); in TEST_F()
6491 getLLVMStyleWithColumns(39)); in TEST_F()
6495 getLLVMStyleWithColumns(39)); in TEST_F()
6499 getLLVMStyleWithColumns(39)); in TEST_F()
6519 getLLVMStyleWithColumns(60)); in TEST_F()
6574 getLLVMStyleWithColumns(15)); in TEST_F()
6576 verifyFormat("void f() { return 42; }", getLLVMStyleWithColumns(23)); in TEST_F()
6577 verifyFormat("void f() {\n return 42;\n}", getLLVMStyleWithColumns(22)); in TEST_F()
6579 verifyFormat("void f() {}", getLLVMStyleWithColumns(11)); in TEST_F()
6580 verifyFormat("void f() {\n}", getLLVMStyleWithColumns(10)); in TEST_F()
6618 getLLVMStyleWithColumns(20)); in TEST_F()
6621 getLLVMStyleWithColumns(21)); in TEST_F()
6627 getLLVMStyleWithColumns(22)); in TEST_F()
6631 getLLVMStyleWithColumns(23)); in TEST_F()
6728 getLLVMStyleWithColumns(65)); in TEST_F()
6808 getLLVMStyleWithColumns(15))); in TEST_F()
6815 getLLVMStyleWithColumns(15))); in TEST_F()
6826 getLLVMStyleWithColumns(10))); in TEST_F()
6836 getLLVMStyleWithColumns(10))); in TEST_F()
6907 getLLVMStyleWithColumns(20))); in TEST_F()
6917 getLLVMStyleWithColumns(20))); in TEST_F()
6926 getLLVMStyleWithColumns(15))); in TEST_F()
6932 getLLVMStyleWithColumns(15))); in TEST_F()
6941 getLLVMStyleWithColumns(15))); in TEST_F()
7285 getLLVMStyleWithColumns(60)); in TEST_F()
7428 getLLVMStyleWithColumns(70)); in TEST_F()
7468 getLLVMStyleWithColumns(60)); in TEST_F()
7490 getLLVMStyleWithColumns(60)); in TEST_F()
7719 format("\"some text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
7722 format("\\\n\"some text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
7728 format("#define A \"some text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
7734 format("#define A \"so text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
7737 format("\"some text\"", getLLVMStyleWithColumns(1))); in TEST_F()
7739 format("\"some text\"", getLLVMStyleWithColumns(11))); in TEST_F()
7742 format("\"some text\"", getLLVMStyleWithColumns(10))); in TEST_F()
7745 format("\"some text\"", getLLVMStyleWithColumns(7))); in TEST_F()
7749 format("\"some text\"", getLLVMStyleWithColumns(6))); in TEST_F()
7753 format("\"some tex and\"", getLLVMStyleWithColumns(6))); in TEST_F()
7757 format("\"some/tex/and\"", getLLVMStyleWithColumns(6))); in TEST_F()
7763 getLLVMStyleWithColumns(20))); in TEST_F()
7772 getLLVMStyleWithColumns(20))); in TEST_F()
7778 format("f(g(\"long string literal\"), b);", getLLVMStyleWithColumns(20))); in TEST_F()
7784 getLLVMStyleWithColumns(20))); in TEST_F()
7788 format("f(\"one two\".split(variable));", getLLVMStyleWithColumns(20))); in TEST_F()
7794 getLLVMStyleWithColumns(33))); in TEST_F()
7799 format("f(\"some text\", other);", getLLVMStyleWithColumns(10))); in TEST_F()
7810 format("\"splitmeatrandompoint\"", getLLVMStyleWithColumns(10))); in TEST_F()
7815 format("\"split/pathat/slashes\"", getLLVMStyleWithColumns(10))); in TEST_F()
7820 format("\"split/pathat/slashes\"", getLLVMStyleWithColumns(10))); in TEST_F()
7834 getLLVMStyleWithColumns(20))); in TEST_F()
7864 FormatStyle AlignLeft = getLLVMStyleWithColumns(12); in TEST_F()
7874 FormatStyle NoEmptyLines = getLLVMStyleWithColumns(80); in TEST_F()
7914 getLLVMStyleWithColumns(60)); in TEST_F()
7928 FormatStyle Style = getLLVMStyleWithColumns(20); in TEST_F()
8047 getLLVMStyleWithColumns(25))); in TEST_F()
8051 getLLVMStyleWithColumns(26))); in TEST_F()
8056 getLLVMStyleWithColumns(25))); in TEST_F()
8061 getLLVMStyleWithColumns(24))); in TEST_F()
8066 getLLVMStyleWithColumns(25))); in TEST_F()
8070 getLLVMStyleWithColumns(25))); in TEST_F()
8075 getLLVMStyleWithColumns(25))); in TEST_F()
8082 getLLVMStyleWithColumns(20))); in TEST_F()
8088 getLLVMStyleWithColumns(25))); in TEST_F()
8092 EXPECT_EQ("\"\\a\"", format("\"\\a\"", getLLVMStyleWithColumns(3))); in TEST_F()
8093 EXPECT_EQ("\"\\\"", format("\"\\\"", getLLVMStyleWithColumns(2))); in TEST_F()
8096 format("\"test\\n\"", getLLVMStyleWithColumns(7))); in TEST_F()
8099 format("\"tes\\\\n\"", getLLVMStyleWithColumns(7))); in TEST_F()
8102 format("\"\\\\\\\\\\n\"", getLLVMStyleWithColumns(7))); in TEST_F()
8103 EXPECT_EQ("\"\\uff01\"", format("\"\\uff01\"", getLLVMStyleWithColumns(7))); in TEST_F()
8106 format("\"\\uff01test\"", getLLVMStyleWithColumns(8))); in TEST_F()
8108 format("\"\\Uff01ff02\"", getLLVMStyleWithColumns(11))); in TEST_F()
8111 format("\"\\x000000000001next\"", getLLVMStyleWithColumns(16))); in TEST_F()
8113 format("\"\\x000000000001next\"", getLLVMStyleWithColumns(15))); in TEST_F()
8115 format("\"\\x000000000001\"", getLLVMStyleWithColumns(7))); in TEST_F()
8119 format("\"test\\000000000001\"", getLLVMStyleWithColumns(9))); in TEST_F()
8123 format("\"test\\000000000001\"", getLLVMStyleWithColumns(10))); in TEST_F()
8145 getLLVMStyleWithColumns(12)); in TEST_F()
8149 FormatStyle EightIndent = getLLVMStyleWithColumns(18); in TEST_F()
8173 getLLVMStyleWithColumns(8)); in TEST_F()
8177 FormatStyle Tab = getLLVMStyleWithColumns(42); in TEST_F()
10085 getLLVMStyleWithColumns(12))); in TEST_F()
10101 getLLVMStyleWithColumns(35)); in TEST_F()
10103 getLLVMStyleWithColumns(31)); in TEST_F()
10105 getLLVMStyleWithColumns(36)); in TEST_F()
10106 verifyFormat("// 一 二 三 四 五 六 七 八 九 十", getLLVMStyleWithColumns(32)); in TEST_F()
10108 getLLVMStyleWithColumns(39)); in TEST_F()
10110 getLLVMStyleWithColumns(35)); in TEST_F()
10120 format("\"aaaaÄ\xc2\x8d\";", getLLVMStyleWithColumns(10))); in TEST_F()
10123 format("\"aaaaaaaÄ\xc2\x8d\";", getLLVMStyleWithColumns(10))); in TEST_F()
10129 getLLVMStyleWithColumns(13))); in TEST_F()
10135 format("\"一 二 三 四 五六 七 八 九 十\"", getLLVMStyleWithColumns(11))); in TEST_F()
10142 getLLVMStyleWithColumns(11))); in TEST_F()
10147 format("\"aaaaaa\\\xC2\x8D\"", getLLVMStyleWithColumns(10))); in TEST_F()
10156 getLLVMStyleWithColumns(30))); in TEST_F()
10161 format("// aaaaÄ\xc2\x8d", getLLVMStyleWithColumns(10))); in TEST_F()
10167 getLLVMStyleWithColumns(13))); in TEST_F()
10172 format("// 一二三 四五六七 八 九 十", getLLVMStyleWithColumns(9))); in TEST_F()
10186 getLLVMStyleWithColumns(13))); in TEST_F()
10192 format("/* 一二三 四五六七 八 九 十 */", getLLVMStyleWithColumns(9))); in TEST_F()
10196 format("/* �������� �������� �������� ������-�� */", getLLVMStyleWithColumns(12))); in TEST_F()
10516 getLLVMStyleWithColumns(60)); in TEST_F()
10549 getLLVMStyleWithColumns(70)); in TEST_F()
10633 getLLVMStyleWithColumns(60)); in TEST_F()
10651 getLLVMStyleWithColumns(40)); in TEST_F()
10661 getLLVMStyleWithColumns(60)); in TEST_F()
10790 format("\"aaaaaaa bbbbbbb\";\r\n", getLLVMStyleWithColumns(10))); in TEST_F()
10820 FormatStyle TwoIndent = getLLVMStyleWithColumns(15); in TEST_F()
10828 FormatStyle SixIndent = getLLVMStyleWithColumns(20); in TEST_F()