• Home
  • Raw
  • Download

Lines Matching refs:getLLVMStyleWithColumns

56   FormatStyle getLLVMStyleWithColumns(unsigned ColumnLimit) {  in getLLVMStyleWithColumns()  function in clang::format::__anonbc5174420111::FormatTest
483 getLLVMStyleWithColumns(62)); in TEST_F()
518 getLLVMStyleWithColumns(76)); in TEST_F()
685 getLLVMStyleWithColumns(20)); in TEST_F()
689 getLLVMStyleWithColumns(40)); in TEST_F()
751 getLLVMStyleWithColumns(34)); in TEST_F()
929 getLLVMStyleWithColumns(20)); in TEST_F()
1059 getLLVMStyleWithColumns(12))); in TEST_F()
1064 getLLVMStyleWithColumns(60)); in TEST_F()
1069 getLLVMStyleWithColumns(61)); in TEST_F()
1119 getLLVMStyleWithColumns(33))); in TEST_F()
1238 FormatStyle Style = getLLVMStyleWithColumns(20); in TEST_F()
1265 getLLVMStyleWithColumns(40))); in TEST_F()
1272 getLLVMStyleWithColumns(35))); in TEST_F()
1280 getLLVMStyleWithColumns(20))); in TEST_F()
1285 getLLVMStyleWithColumns(20))); in TEST_F()
1290 getLLVMStyleWithColumns(20))); in TEST_F()
1294 format("// a b c d e f g h i j k", getLLVMStyleWithColumns(10))); in TEST_F()
1299 format("\\\n// a b c d e f g h i j k", getLLVMStyleWithColumns(10))); in TEST_F()
1304 getLLVMStyleWithColumns(30))); in TEST_F()
1307 getLLVMStyleWithColumns(20))); in TEST_F()
1310 format("//Add leading whitespace", getLLVMStyleWithColumns(20))); in TEST_F()
1313 format("///Add leading whitespace", getLLVMStyleWithColumns(20))); in TEST_F()
1316 format("//!Add leading whitespace", getLLVMStyleWithColumns(20))); in TEST_F()
1321 getLLVMStyleWithColumns(51))); in TEST_F()
1326 getLLVMStyleWithColumns(15))); in TEST_F()
1334 getLLVMStyleWithColumns(20))); in TEST_F()
1344 getLLVMStyleWithColumns(40))); in TEST_F()
1347 getLLVMStyleWithColumns(20))); in TEST_F()
1351 format("#define XXX // a b c d e f g h", getLLVMStyleWithColumns(22))); in TEST_F()
1355 format("#define XXX //q w e r t y u i", getLLVMStyleWithColumns(22))); in TEST_F()
1364 getLLVMStyleWithColumns(20))); in TEST_F()
1370 getLLVMStyleWithColumns(20))); in TEST_F()
1386 getLLVMStyleWithColumns(50))); in TEST_F()
1396 getLLVMStyleWithColumns(49))); in TEST_F()
1400 FormatStyle Pragmas = getLLVMStyleWithColumns(30); in TEST_F()
1417 getLLVMStyleWithColumns(40))); in TEST_F()
1424 getLLVMStyleWithColumns(40))); in TEST_F()
1431 getLLVMStyleWithColumns(40))); in TEST_F()
1437 getLLVMStyleWithColumns(40))); in TEST_F()
1449 getLLVMStyleWithColumns(17))); in TEST_F()
1460 getLLVMStyleWithColumns(17))); in TEST_F()
1483 getLLVMStyleWithColumns(20))); in TEST_F()
1489 format("/* a b c d e f g h i j k */", getLLVMStyleWithColumns(10))); in TEST_F()
1495 format("\\\n/* a b c d e f g h i j k */", getLLVMStyleWithColumns(10))); in TEST_F()
1506 getLLVMStyleWithColumns(20))); in TEST_F()
1519 getLLVMStyleWithColumns(20))); in TEST_F()
1530 getLLVMStyleWithColumns(20))); in TEST_F()
1537 getLLVMStyleWithColumns(20))); in TEST_F()
1554 getLLVMStyleWithColumns(20))); in TEST_F()
1573 getLLVMStyleWithColumns(20))); in TEST_F()
1583 getLLVMStyleWithColumns(20))); in TEST_F()
1594 getLLVMStyleWithColumns(30))); in TEST_F()
1602 getLLVMStyleWithColumns(20))); in TEST_F()
1616 getLLVMStyleWithColumns(20))); in TEST_F()
1627 getLLVMStyleWithColumns(20))); in TEST_F()
1639 format("/* a a */", getLLVMStyleWithColumns(15))); in TEST_F()
1641 format("/* a a bc */", getLLVMStyleWithColumns(15))); in TEST_F()
1644 format("/* aaa aaa aaaaa */", getLLVMStyleWithColumns(15))); in TEST_F()
1647 format("/* aaa aaa aaaaa */", getLLVMStyleWithColumns(15))); in TEST_F()
1665 getLLVMStyleWithColumns(20))); in TEST_F()
1675 getLLVMStyleWithColumns(20))); in TEST_F()
1684 getLLVMStyleWithColumns(20))); in TEST_F()
2020 getLLVMStyleWithColumns(32)); in TEST_F()
2063 getLLVMStyleWithColumns(30)); in TEST_F()
2519 getLLVMStyleWithColumns(40)); in TEST_F()
2543 getLLVMStyleWithColumns(50)); in TEST_F()
2549 getLLVMStyleWithColumns(60)); in TEST_F()
2606 getLLVMStyleWithColumns(40)); in TEST_F()
2609 getLLVMStyleWithColumns(40)); in TEST_F()
2614 getLLVMStyleWithColumns(40)); in TEST_F()
2616 getLLVMStyleWithColumns(40)); in TEST_F()
2621 getLLVMStyleWithColumns(40))); in TEST_F()
2638 getLLVMStyleWithColumns(12))); in TEST_F()
2666 verifyFormat("#define A(BB)", getLLVMStyleWithColumns(13)); in TEST_F()
2667 verifyFormat("#define A( \\\n BB)", getLLVMStyleWithColumns(12)); in TEST_F()
2668 verifyFormat("#define A( \\\n A, B)", getLLVMStyleWithColumns(12)); in TEST_F()
2670 verifyFormat("#define AA( \\\n B)", getLLVMStyleWithColumns(12)); in TEST_F()
2675 verifyFormat("#define Something Other", getLLVMStyleWithColumns(23)); in TEST_F()
2676 verifyFormat("#define Something \\\n Other", getLLVMStyleWithColumns(22)); in TEST_F()
2692 getLLVMStyleWithColumns(13))); in TEST_F()
2704 getLLVMStyleWithColumns(14))); in TEST_F()
2718 verifyFormat("#define A \\\n b #c;", getLLVMStyleWithColumns(11)); in TEST_F()
2723 getLLVMStyleWithColumns(11)); in TEST_F()
2727 getLLVMStyleWithColumns(22)); in TEST_F()
2731 getLLVMStyleWithColumns(22)); in TEST_F()
2733 verifyFormat("#define A void # ## #", getLLVMStyleWithColumns(22)); in TEST_F()
2745 getLLVMStyleWithColumns(25))); in TEST_F()
2754 getLLVMStyleWithColumns(11))); in TEST_F()
2763 getLLVMStyleWithColumns(11))); in TEST_F()
2771 getLLVMStyleWithColumns(20)); in TEST_F()
2777 getLLVMStyleWithColumns(18)); in TEST_F()
2783 getLLVMStyleWithColumns(28)); in TEST_F()
2791 getLLVMStyleWithColumns(15)); in TEST_F()
2798 getLLVMStyleWithColumns(15)); in TEST_F()
2989 getLLVMStyleWithColumns(40))); in TEST_F()
2999 getLLVMStyleWithColumns(11)); in TEST_F()
3012 format("#define A { {\nint i;", getLLVMStyleWithColumns(11))); in TEST_F()
3014 format("#define A } }\nint i;", getLLVMStyleWithColumns(11))); in TEST_F()
3020 format("#define A \\\nint i;\\\n int j;", getLLVMStyleWithColumns(11))); in TEST_F()
3043 getLLVMStyleWithColumns(11)); in TEST_F()
3076 getLLVMStyleWithColumns(69)); in TEST_F()
3114 getLLVMStyleWithColumns(28)); in TEST_F()
3222 getLLVMStyleWithColumns(40)); in TEST_F()
3242 getLLVMStyleWithColumns(29))); in TEST_F()
3424 getLLVMStyleWithColumns(75)); in TEST_F()
3475 getLLVMStyleWithColumns(30)); in TEST_F()
3595 getLLVMStyleWithColumns(45)); in TEST_F()
3598 getLLVMStyleWithColumns(44)); in TEST_F()
3601 getLLVMStyleWithColumns(43)); in TEST_F()
3605 getLLVMStyleWithColumns(45)); in TEST_F()
3639 getLLVMStyleWithColumns(60)); in TEST_F()
3718 getLLVMStyleWithColumns(65)); in TEST_F()
3745 getLLVMStyleWithColumns(65)); in TEST_F()
3765 getLLVMStyleWithColumns(65)); in TEST_F()
3921 getLLVMStyleWithColumns(47)); in TEST_F()
3924 getLLVMStyleWithColumns(47)); in TEST_F()
3943 getLLVMStyleWithColumns(46)); in TEST_F()
4204 FormatStyle Style = getLLVMStyleWithColumns(15); in TEST_F()
4328 getLLVMStyleWithColumns(60)); in TEST_F()
4332 getLLVMStyleWithColumns(59)); in TEST_F()
4520 FormatStyle Style = getLLVMStyleWithColumns(40); in TEST_F()
4602 getLLVMStyleWithColumns(70)); in TEST_F()
4821 getLLVMStyleWithColumns(28))); in TEST_F()
4844 getLLVMStyleWithColumns(23)); in TEST_F()
4854 getLLVMStyleWithColumns(25)); in TEST_F()
5146 getLLVMStyleWithColumns(70)); in TEST_F()
5153 getLLVMStyleWithColumns(70)); in TEST_F()
5366 getLLVMStyleWithColumns(72)); in TEST_F()
5427 getLLVMStyleWithColumns(74)); in TEST_F()
5476 getLLVMStyleWithColumns(35)); in TEST_F()
5489 getLLVMStyleWithColumns(60)); in TEST_F()
5820 getLLVMStyleWithColumns(19)); in TEST_F()
5852 getLLVMStyleWithColumns(76)); in TEST_F()
5878 getLLVMStyleWithColumns(50))); in TEST_F()
5989 getLLVMStyleWithColumns(15)); in TEST_F()
6248 verifyNoCrash("a[,Y?)]", getLLVMStyleWithColumns(10)); in TEST_F()
6250 FormatStyle NoColumnLimit = getLLVMStyleWithColumns(0); in TEST_F()
6271 getLLVMStyleWithColumns(35)); in TEST_F()
6288 getLLVMStyleWithColumns(30)); in TEST_F()
6354 getLLVMStyleWithColumns(20)); in TEST_F()
6358 getLLVMStyleWithColumns(20)); in TEST_F()
6424 getLLVMStyleWithColumns(10))); in TEST_F()
6431 getLLVMStyleWithColumns(25)); in TEST_F()
6549 getLLVMStyleWithColumns(30))); in TEST_F()
6647 getLLVMStyleWithColumns(39)); in TEST_F()
6650 getLLVMStyleWithColumns(38)); in TEST_F()
6653 getLLVMStyleWithColumns(43)); in TEST_F()
6671 getLLVMStyleWithColumns(60)); in TEST_F()
6677 getLLVMStyleWithColumns(39)); in TEST_F()
6681 getLLVMStyleWithColumns(39)); in TEST_F()
6685 getLLVMStyleWithColumns(39)); in TEST_F()
6705 getLLVMStyleWithColumns(60)); in TEST_F()
6769 getLLVMStyleWithColumns(15)); in TEST_F()
6771 verifyFormat("void f() { return 42; }", getLLVMStyleWithColumns(23)); in TEST_F()
6772 verifyFormat("void f() {\n return 42;\n}", getLLVMStyleWithColumns(22)); in TEST_F()
6774 verifyFormat("void f() {}", getLLVMStyleWithColumns(11)); in TEST_F()
6775 verifyFormat("void f() {\n}", getLLVMStyleWithColumns(10)); in TEST_F()
6813 getLLVMStyleWithColumns(20)); in TEST_F()
6816 getLLVMStyleWithColumns(21)); in TEST_F()
6822 getLLVMStyleWithColumns(22)); in TEST_F()
6826 getLLVMStyleWithColumns(23)); in TEST_F()
6923 getLLVMStyleWithColumns(65)); in TEST_F()
7003 getLLVMStyleWithColumns(15))); in TEST_F()
7010 getLLVMStyleWithColumns(15))); in TEST_F()
7021 getLLVMStyleWithColumns(10))); in TEST_F()
7031 getLLVMStyleWithColumns(10))); in TEST_F()
7039 getLLVMStyleWithColumns(50))); in TEST_F()
7110 getLLVMStyleWithColumns(20))); in TEST_F()
7120 getLLVMStyleWithColumns(20))); in TEST_F()
7129 getLLVMStyleWithColumns(15))); in TEST_F()
7135 getLLVMStyleWithColumns(15))); in TEST_F()
7144 getLLVMStyleWithColumns(15))); in TEST_F()
7492 getLLVMStyleWithColumns(60)); in TEST_F()
7635 getLLVMStyleWithColumns(70)); in TEST_F()
7675 getLLVMStyleWithColumns(60)); in TEST_F()
7697 getLLVMStyleWithColumns(60)); in TEST_F()
7925 format("\"some text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
7928 format("\\\n\"some text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
7934 format("#define A \"some text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
7940 format("#define A \"so text other\";", getLLVMStyleWithColumns(12))); in TEST_F()
7943 format("\"some text\"", getLLVMStyleWithColumns(1))); in TEST_F()
7945 format("\"some text\"", getLLVMStyleWithColumns(11))); in TEST_F()
7948 format("\"some text\"", getLLVMStyleWithColumns(10))); in TEST_F()
7951 format("\"some text\"", getLLVMStyleWithColumns(7))); in TEST_F()
7955 format("\"some text\"", getLLVMStyleWithColumns(6))); in TEST_F()
7959 format("\"some tex and\"", getLLVMStyleWithColumns(6))); in TEST_F()
7963 format("\"some/tex/and\"", getLLVMStyleWithColumns(6))); in TEST_F()
7969 getLLVMStyleWithColumns(20))); in TEST_F()
7978 getLLVMStyleWithColumns(20))); in TEST_F()
7984 format("f(g(\"long string literal\"), b);", getLLVMStyleWithColumns(20))); in TEST_F()
7990 getLLVMStyleWithColumns(20))); in TEST_F()
7994 format("f(\"one two\".split(variable));", getLLVMStyleWithColumns(20))); in TEST_F()
8000 getLLVMStyleWithColumns(33))); in TEST_F()
8005 format("f(\"some text\", other);", getLLVMStyleWithColumns(10))); in TEST_F()
8016 format("\"splitmeatrandompoint\"", getLLVMStyleWithColumns(10))); in TEST_F()
8021 format("\"split/pathat/slashes\"", getLLVMStyleWithColumns(10))); in TEST_F()
8026 format("\"split/pathat/slashes\"", getLLVMStyleWithColumns(10))); in TEST_F()
8040 getLLVMStyleWithColumns(20))); in TEST_F()
8070 FormatStyle Style = getLLVMStyleWithColumns(12); in TEST_F()
8074 FormatStyle AlignLeft = getLLVMStyleWithColumns(12); in TEST_F()
8084 FormatStyle NoEmptyLines = getLLVMStyleWithColumns(80); in TEST_F()
8124 getLLVMStyleWithColumns(60)); in TEST_F()
8138 FormatStyle Style = getLLVMStyleWithColumns(20); in TEST_F()
8257 getLLVMStyleWithColumns(25))); in TEST_F()
8261 getLLVMStyleWithColumns(26))); in TEST_F()
8266 getLLVMStyleWithColumns(25))); in TEST_F()
8271 getLLVMStyleWithColumns(24))); in TEST_F()
8276 getLLVMStyleWithColumns(25))); in TEST_F()
8280 getLLVMStyleWithColumns(25))); in TEST_F()
8285 getLLVMStyleWithColumns(25))); in TEST_F()
8292 getLLVMStyleWithColumns(20))); in TEST_F()
8298 getLLVMStyleWithColumns(25))); in TEST_F()
8302 EXPECT_EQ("\"\\a\"", format("\"\\a\"", getLLVMStyleWithColumns(3))); in TEST_F()
8303 EXPECT_EQ("\"\\\"", format("\"\\\"", getLLVMStyleWithColumns(2))); in TEST_F()
8306 format("\"test\\n\"", getLLVMStyleWithColumns(7))); in TEST_F()
8309 format("\"tes\\\\n\"", getLLVMStyleWithColumns(7))); in TEST_F()
8312 format("\"\\\\\\\\\\n\"", getLLVMStyleWithColumns(7))); in TEST_F()
8313 EXPECT_EQ("\"\\uff01\"", format("\"\\uff01\"", getLLVMStyleWithColumns(7))); in TEST_F()
8316 format("\"\\uff01test\"", getLLVMStyleWithColumns(8))); in TEST_F()
8318 format("\"\\Uff01ff02\"", getLLVMStyleWithColumns(11))); in TEST_F()
8321 format("\"\\x000000000001next\"", getLLVMStyleWithColumns(16))); in TEST_F()
8323 format("\"\\x000000000001next\"", getLLVMStyleWithColumns(15))); in TEST_F()
8325 format("\"\\x000000000001\"", getLLVMStyleWithColumns(7))); in TEST_F()
8329 format("\"test\\000000000001\"", getLLVMStyleWithColumns(9))); in TEST_F()
8333 format("\"test\\000000000001\"", getLLVMStyleWithColumns(10))); in TEST_F()
8355 getLLVMStyleWithColumns(12)); in TEST_F()
8359 FormatStyle EightIndent = getLLVMStyleWithColumns(18); in TEST_F()
8383 getLLVMStyleWithColumns(8)); in TEST_F()
8387 FormatStyle Tab = getLLVMStyleWithColumns(42); in TEST_F()
10526 getLLVMStyleWithColumns(12))); in TEST_F()
10542 getLLVMStyleWithColumns(35)); in TEST_F()
10544 getLLVMStyleWithColumns(31)); in TEST_F()
10546 getLLVMStyleWithColumns(36)); in TEST_F()
10547 verifyFormat("// 一 二 三 四 五 六 七 八 九 十", getLLVMStyleWithColumns(32)); in TEST_F()
10549 getLLVMStyleWithColumns(39)); in TEST_F()
10551 getLLVMStyleWithColumns(35)); in TEST_F()
10561 format("\"aaaaÄ\xc2\x8d\";", getLLVMStyleWithColumns(10))); in TEST_F()
10564 format("\"aaaaaaaÄ\xc2\x8d\";", getLLVMStyleWithColumns(10))); in TEST_F()
10570 getLLVMStyleWithColumns(13))); in TEST_F()
10576 format("\"一 二 三 四 五六 七 八 九 十\"", getLLVMStyleWithColumns(11))); in TEST_F()
10583 getLLVMStyleWithColumns(11))); in TEST_F()
10588 format("\"aaaaaa\\\xC2\x8D\"", getLLVMStyleWithColumns(10))); in TEST_F()
10597 getLLVMStyleWithColumns(30))); in TEST_F()
10602 format("// aaaaÄ\xc2\x8d", getLLVMStyleWithColumns(10))); in TEST_F()
10608 getLLVMStyleWithColumns(13))); in TEST_F()
10613 format("// 一二三 四五六七 八 九 十", getLLVMStyleWithColumns(9))); in TEST_F()
10627 getLLVMStyleWithColumns(13))); in TEST_F()
10633 format("/* 一二三 四五六七 八 九 十 */", getLLVMStyleWithColumns(9))); in TEST_F()
10637 format("/* �������� �������� �������� ������-�� */", getLLVMStyleWithColumns(12))); in TEST_F()
10971 getLLVMStyleWithColumns(60)); in TEST_F()
11004 getLLVMStyleWithColumns(70)); in TEST_F()
11093 getLLVMStyleWithColumns(60)); in TEST_F()
11111 getLLVMStyleWithColumns(40)); in TEST_F()
11121 getLLVMStyleWithColumns(60)); in TEST_F()
11250 format("\"aaaaaaa bbbbbbb\";\r\n", getLLVMStyleWithColumns(10))); in TEST_F()
11280 FormatStyle TwoIndent = getLLVMStyleWithColumns(15); in TEST_F()
11288 FormatStyle SixIndent = getLLVMStyleWithColumns(20); in TEST_F()