reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/unittests/Format/FormatTestComments.cpp
  174                    getLLVMStyleWithColumns(20)));
  183                    getLLVMStyleWithColumns(20)));
  192                    getLLVMStyleWithColumns(20)));
  203                    getLLVMStyleWithColumns(20)));
  214                    getLLVMStyleWithColumns(20)));
  234                getLLVMStyleWithColumns(20));
  364                    getLLVMStyleWithColumns(12)));
  369                getLLVMStyleWithColumns(60));
  374       getLLVMStyleWithColumns(61));
  430                    getLLVMStyleWithColumns(33)));
  549   FormatStyle Style = getLLVMStyleWithColumns(20);
  576              getLLVMStyleWithColumns(40)));
  583                    getLLVMStyleWithColumns(35)));
  591                    getLLVMStyleWithColumns(20)));
  596                    getLLVMStyleWithColumns(20)));
  601                    getLLVMStyleWithColumns(20)));
  605             format("// a b c d e f  g h i j k", getLLVMStyleWithColumns(10)));
  610       format("\\\n// a b c d e f  g h i j k", getLLVMStyleWithColumns(10)));
  615                    getLLVMStyleWithColumns(30)));
  618                    getLLVMStyleWithColumns(20)));
  621             format("//Add leading whitespace", getLLVMStyleWithColumns(20)));
  624             format("///Add leading whitespace", getLLVMStyleWithColumns(20)));
  627             format("//!Add leading whitespace", getLLVMStyleWithColumns(20)));
  632                    getLLVMStyleWithColumns(51)));
  638                    getLLVMStyleWithColumns(30)));
  652                    "//line 7", getLLVMStyleWithColumns(20)));
  656                    getLLVMStyleWithColumns(15)));
  664                    getLLVMStyleWithColumns(20)));
  674                    getLLVMStyleWithColumns(40)));
  677                    getLLVMStyleWithColumns(20)));
  681       format("#define XXX // a b c d e f g h", getLLVMStyleWithColumns(22)));
  685       format("#define XXX //q w e r t y u i", getLLVMStyleWithColumns(22)));
  696                    getLLVMStyleWithColumns(20)));
  708                    getLLVMStyleWithColumns(20)));
  717                    getLLVMStyleWithColumns(20)));
  723                    getLLVMStyleWithColumns(20)));
  739                    getLLVMStyleWithColumns(50)));
  749                    getLLVMStyleWithColumns(49)));
  753   FormatStyle Pragmas = getLLVMStyleWithColumns(30);
  770                    getLLVMStyleWithColumns(40)));
  777                    getLLVMStyleWithColumns(40)));
  784                    getLLVMStyleWithColumns(40)));
  790                    getLLVMStyleWithColumns(40)));
  802                    getLLVMStyleWithColumns(17)));
  813                    getLLVMStyleWithColumns(17)));
 1110                    getLLVMStyleWithColumns(20)));
 1116       format("/* a b c d e f  g h i j k */", getLLVMStyleWithColumns(10)));
 1122       format("\\\n/* a b c d e f  g h i j k */", getLLVMStyleWithColumns(10)));
 1133                    getLLVMStyleWithColumns(20)));
 1146                    getLLVMStyleWithColumns(20)));
 1157                    getLLVMStyleWithColumns(20)));
 1164                    getLLVMStyleWithColumns(20)));
 1181                    getLLVMStyleWithColumns(20)));
 1200                    getLLVMStyleWithColumns(20)));
 1210                    getLLVMStyleWithColumns(20)));
 1221                    getLLVMStyleWithColumns(30)));
 1229                    getLLVMStyleWithColumns(20)));
 1243                    getLLVMStyleWithColumns(20)));
 1254                    getLLVMStyleWithColumns(20)));
 1260                    getLLVMStyleWithColumns(20)));
 1272             format("/* a a            */", getLLVMStyleWithColumns(15)));
 1274             format("/* a a            bc  */", getLLVMStyleWithColumns(15)));
 1277             format("/* aaa aaa aaaaa       */", getLLVMStyleWithColumns(15)));
 1280             format("/* aaa aaa aaaaa     */", getLLVMStyleWithColumns(15)));
 1298                    getLLVMStyleWithColumns(20)));
 1308                    getLLVMStyleWithColumns(20)));
 1317                    getLLVMStyleWithColumns(20)));
 1324                getLLVMStyleWithColumns(80));
 1329                getLLVMStyleWithColumns(80));
 1338                    getLLVMStyleWithColumns(80)));
 1349                "}", getLLVMStyleWithColumns(80));
 1357                getLLVMStyleWithColumns(20));
 1362                getLLVMStyleWithColumns(20));
 1373                    getLLVMStyleWithColumns(20)));
 1451                    getLLVMStyleWithColumns(80)));
 1486                    getLLVMStyleWithColumns(80)));
 1497                    getLLVMStyleWithColumns(80)));
 1506                    getLLVMStyleWithColumns(20)));
 1513                    getLLVMStyleWithColumns(20)));
 1521                    getLLVMStyleWithColumns(20)));
 1529                    getLLVMStyleWithColumns(20)));
 1536                getLLVMStyleWithColumns(20));
 1543                    getLLVMStyleWithColumns(20)));
 1548                    getLLVMStyleWithColumns(20)));
 1553                    getLLVMStyleWithColumns(20)));
 1558                    getLLVMStyleWithColumns(20)));
 1563                    getLLVMStyleWithColumns(20)));
 1572                    getLLVMStyleWithColumns(20)));
 1579                    getLLVMStyleWithColumns(20)));
 1587                    getLLVMStyleWithColumns(20)));
 1597                    getLLVMStyleWithColumns(20)));
 1614                    getLLVMStyleWithColumns(20)));
 1620             format("/* long long long long */", getLLVMStyleWithColumns(20)));
 1626             format("int i; /* long long long */", getLLVMStyleWithColumns(20)));
 1633                    getLLVMStyleWithColumns(20)));
 1644                    getLLVMStyleWithColumns(20)));
 1653                    getLLVMStyleWithColumns(20)));
 1663                    getLLVMStyleWithColumns(20)));
 1672                    getLLVMStyleWithColumns(20)));
 1677                                         getLLVMStyleWithColumns(20)));
 1681             format("int i; ///           a", getLLVMStyleWithColumns(20)));
 1688                    getLLVMStyleWithColumns(20)));
 1692             format("/* long long long     */", getLLVMStyleWithColumns(20)));
 1697             format("/*               long */", getLLVMStyleWithColumns(20)));
 1713                    getLLVMStyleWithColumns(20)));
 1722                    getLLVMStyleWithColumns(20)));
 1729                    getLLVMStyleWithColumns(20)));
 1740                    getLLVMStyleWithColumns(20)));
 1745                    getLLVMStyleWithColumns(20)));
 1750                    getLLVMStyleWithColumns(20)));
 1757                    getLLVMStyleWithColumns(20)));
 1768                    getLLVMStyleWithColumns(20)));
 1784                    getLLVMStyleWithColumns(20)));
 1794                    getLLVMStyleWithColumns(20)));
 1800                    getLLVMStyleWithColumns(20)));
 1813                    getLLVMStyleWithColumns(20)));
 1823                    getLLVMStyleWithColumns(20)));
 1834              getLLVMStyleWithColumns(20)));
 1841                    getLLVMStyleWithColumns(20)));
 1852                    getLLVMStyleWithColumns(20)));
 1863                    getLLVMStyleWithColumns(20)));
 1876                    getLLVMStyleWithColumns(20)));
 1884                    getLLVMStyleWithColumns(20)));
 1892                    getLLVMStyleWithColumns(20)));
 1900                    getLLVMStyleWithColumns(20)));
 1908                    getLLVMStyleWithColumns(20)));
 1917                 getLLVMStyleWithColumns(20)));
 1925                    getLLVMStyleWithColumns(20)));
 1933                    getLLVMStyleWithColumns(20)));
 1941                    getLLVMStyleWithColumns(20)));
 1949                    getLLVMStyleWithColumns(20)));
 1957                    getLLVMStyleWithColumns(20)));
 1965                    getLLVMStyleWithColumns(20)));
 1974                 getLLVMStyleWithColumns(20)));
 1985                    getLLVMStyleWithColumns(20)));
 1993                    getLLVMStyleWithColumns(20)));
 2001                    getLLVMStyleWithColumns(20)));
 2007                    getLLVMStyleWithColumns(20)));
 2013                    getLLVMStyleWithColumns(20)));
 2019                    getLLVMStyleWithColumns(20)));
 2025                    getLLVMStyleWithColumns(20)));
 2033                    getLLVMStyleWithColumns(20)));
 2041                    getLLVMStyleWithColumns(20)));
 2048                    getLLVMStyleWithColumns(20)));
 2056                    getLLVMStyleWithColumns(20)));
 2061                getLLVMStyleWithColumns(20));
 2068                    getLLVMStyleWithColumns(20)));
 2077                    getLLVMStyleWithColumns(20)));
 2086                    getLLVMStyleWithColumns(20)));
 2094                    getLLVMStyleWithColumns(22)));
 2102                    getLLVMStyleWithColumns(22)));
 2105   EXPECT_EQ("/**/", format(" /**/", getLLVMStyleWithColumns(20)));
 2106   EXPECT_EQ("/* */", format(" /* */", getLLVMStyleWithColumns(20)));
 2107   EXPECT_EQ("/*  */", format(" /*  */", getLLVMStyleWithColumns(20)));
 2108   EXPECT_EQ("//", format(" //  ", getLLVMStyleWithColumns(20)));
 2109   EXPECT_EQ("///", format(" ///  ", getLLVMStyleWithColumns(20)));
 2123                    getLLVMStyleWithColumns(20)));
 2130                    getLLVMStyleWithColumns(21)));
 2141                    getLLVMStyleWithColumns(21)));
 2149                    getLLVMStyleWithColumns(21)));
 2158                    getLLVMStyleWithColumns(16)));
 2163                    getLLVMStyleWithColumns(16)));
 2170                    getLLVMStyleWithColumns(16)));
 2179                    getLLVMStyleWithColumns(16)));
 2188                    getLLVMStyleWithColumns(21)));
 2387                    getLLVMStyleWithColumns(15)));
 2394                    getLLVMStyleWithColumns(15)));
 2405                    getLLVMStyleWithColumns(10)));
 2415                    getLLVMStyleWithColumns(10)));
 2423             getLLVMStyleWithColumns(50)));
 2494                    getLLVMStyleWithColumns(20)));
 2504                    getLLVMStyleWithColumns(20)));
 2513                    getLLVMStyleWithColumns(15)));
 2519                    getLLVMStyleWithColumns(15)));
 2526                    getLLVMStyleWithColumns(15)));
 2533             format("a = f(/* long long */ a);", getLLVMStyleWithColumns(16)));
 2538             format("a = f(/* long long */ a);", getLLVMStyleWithColumns(15)));
 2547                    getLLVMStyleWithColumns(16)));
 2556                    getLLVMStyleWithColumns(16)));
 2565                    getLLVMStyleWithColumns(16)));
 2572       format("a = f(a, /* long long */ b);", getLLVMStyleWithColumns(16)));
 2580       format("a = f(a, /* long long */ b);", getLLVMStyleWithColumns(15)));
 2587                    getLLVMStyleWithColumns(16)));
 2594                    getLLVMStyleWithColumns(15)));
 2612                    getLLVMStyleWithColumns(40)));
 2621                    getLLVMStyleWithColumns(40)));
 2629                    getLLVMStyleWithColumns(15)));
 2637                    getLLVMStyleWithColumns(15)));
 2645                    getLLVMStyleWithColumns(15)));
 2655                    getLLVMStyleWithColumns(15)));
 2664                    getLLVMStyleWithColumns(20)));
 2671                    getLLVMStyleWithColumns(0)));
 2685                    getLLVMStyleWithColumns(40)));
 2700                    getLLVMStyleWithColumns(40)));
 2717                    getLLVMStyleWithColumns(40)));
 2762                    getLLVMStyleWithColumns(80)));
 2771                    getLLVMStyleWithColumns(80)));
 2778                    getLLVMStyleWithColumns(80)));
 2787                    getLLVMStyleWithColumns(80)));
 2975                    getLLVMStyleWithColumns(20)));
 2991           getLLVMStyleWithColumns(80)));
 2997                getLLVMStyleWithColumns(40));
 3001                getLLVMStyleWithColumns(40));
 3008                    getLLVMStyleWithColumns(40)));
 3095                getLLVMStyleWithColumns(23));