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

References

tools/clang/unittests/Format/FormatTestJS.cpp
   79                    getGoogleJSStyleWithColumns(70)));
   91              getGoogleJSStyleWithColumns(70)));
  103                    getGoogleJSStyleWithColumns(20)));
  112                    getGoogleJSStyleWithColumns(20)));
  118                    " */", getGoogleJSStyleWithColumns(20)));
  121             format("/** jsdoc line 1 */", getGoogleJSStyleWithColumns(20)));
  125             format("/** jsdoc line 12 */", getGoogleJSStyleWithColumns(20)));
  131       format("/*** nonjsdoc long line */", getGoogleJSStyleWithColumns(20)));
  135       format("/**strange long long line */", getGoogleJSStyleWithColumns(20)));
  141             format("/** jsdoc line 123 */", getGoogleJSStyleWithColumns(20)));
  146             format("/**  jsdoc line 123 */", getGoogleJSStyleWithColumns(20)));
  151             format("/**   jsdoc line 123 */", getGoogleJSStyleWithColumns(20)));
  160                    getGoogleJSStyleWithColumns(20)));
  170                    getGoogleJSStyleWithColumns(20)));
  184                    getGoogleJSStyleWithColumns(20)));
  189                    getGoogleJSStyleWithColumns(20)));
  196                    getGoogleJSStyleWithColumns(20)));
  202                    getGoogleJSStyleWithColumns(25)));
  208                    getGoogleJSStyleWithColumns(20)));
  218                    getGoogleJSStyleWithColumns(25)));
  230                    getGoogleJSStyleWithColumns(20)));
  242                    getGoogleJSStyleWithColumns(20)));
  250   verifyFormat("aaaaaaa ===\n    b;", getGoogleJSStyleWithColumns(10));
  252   verifyFormat("aaaaaaa !==\n    b;", getGoogleJSStyleWithColumns(10));
  257                getGoogleJSStyleWithColumns(20));
  262   verifyFormat("aaaaaaa >>>\n    b;", getGoogleJSStyleWithColumns(10));
  264   verifyFormat("aaaaaaa >>>=\n    b;", getGoogleJSStyleWithColumns(10));
  269                getGoogleJSStyleWithColumns(20));
  273                getGoogleJSStyleWithColumns(20));
  279   FormatStyle Style = getGoogleJSStyleWithColumns(80);
  533                getGoogleJSStyleWithColumns(12));
  541                getGoogleJSStyleWithColumns(40));
  595                getGoogleJSStyleWithColumns(40));
  597                getGoogleJSStyleWithColumns(40));
  599                getGoogleJSStyleWithColumns(40));
  601                getGoogleJSStyleWithColumns(40));
  603                getGoogleJSStyleWithColumns(40));
  605                getGoogleJSStyleWithColumns(40));
  630                "}\n", getGoogleJSStyleWithColumns(18));
  632                "}\n", getGoogleJSStyleWithColumns(15));
  634                "}\n", getGoogleJSStyleWithColumns(10));
  636                "}\n", getGoogleJSStyleWithColumns(7));
  640   FormatStyle NineCols = getGoogleJSStyleWithColumns(9);
  705                getGoogleJSStyleWithColumns(8));
  813                getGoogleJSStyleWithColumns(51));
 1147   verifyFormat("return aaaaa;", getGoogleJSStyleWithColumns(10));
 1148   verifyFormat("yield aaaaa;", getGoogleJSStyleWithColumns(10));
 1149   verifyFormat("return /* hello! */ aaaaa;", getGoogleJSStyleWithColumns(10));
 1150   verifyFormat("continue aaaaa;", getGoogleJSStyleWithColumns(10));
 1151   verifyFormat("continue /* hello! */ aaaaa;", getGoogleJSStyleWithColumns(10));
 1152   verifyFormat("break aaaaa;", getGoogleJSStyleWithColumns(10));
 1153   verifyFormat("throw aaaaa;", getGoogleJSStyleWithColumns(10));
 1154   verifyFormat("aaaaaaaaa++;", getGoogleJSStyleWithColumns(10));
 1155   verifyFormat("aaaaaaaaa--;", getGoogleJSStyleWithColumns(10));
 1159                getGoogleJSStyleWithColumns(12));
 1167                getGoogleJSStyleWithColumns(20));
 1175                getGoogleJSStyleWithColumns(10));
 1176   verifyFormat("await theReckoning;", getGoogleJSStyleWithColumns(10));
 1177   verifyFormat("some['a']['b']", getGoogleJSStyleWithColumns(10));
 1180                getGoogleJSStyleWithColumns(10));
 1187                getGoogleJSStyleWithColumns(25));
 1197                getGoogleJSStyleWithColumns(20));
 1407   verifyFormat("var regex = /\"/;", getGoogleJSStyleWithColumns(16));
 1410                getGoogleJSStyleWithColumns(15));
 1428                getGoogleJSStyleWithColumns(60));
 1431                getGoogleJSStyleWithColumns(60));
 1433                getGoogleJSStyleWithColumns(50));
 1476                getGoogleJSStyleWithColumns(60));
 1481       getGoogleJSStyleWithColumns(20));
 1569   const FormatStyle &Style = getGoogleJSStyleWithColumns(22);
 1666   const FormatStyle &Style = getGoogleJSStyleWithColumns(20);
 1727                getGoogleJSStyleWithColumns(20));
 1776   FormatStyle Style = getGoogleJSStyleWithColumns(80);
 1818                getGoogleJSStyleWithColumns(34)); // Barely doesn't fit.
 1820                getGoogleJSStyleWithColumns(35)); // Barely fits.
 1822                getGoogleJSStyleWithColumns(35)); // Fits due to UTF-8.
 1829                    getGoogleJSStyleWithColumns(21)); // Barely doesn't fit.
 1835                    getGoogleJSStyleWithColumns(22)); // Barely fits.
 1839                getGoogleJSStyleWithColumns(11));
 1841                getGoogleJSStyleWithColumns(13));
 1877                getGoogleJSStyleWithColumns(40));
 1973                getGoogleJSStyleWithColumns(40));
 1981                getGoogleJSStyleWithColumns(20));
 1994                getGoogleJSStyleWithColumns(40));
 2045                getGoogleJSStyleWithColumns(20));
 2049                getGoogleJSStyleWithColumns(20));
 2055                getGoogleJSStyleWithColumns(40));
 2067                getGoogleJSStyleWithColumns(20));
 2074                getGoogleJSStyleWithColumns(20));
 2081                getGoogleJSStyleWithColumns(20));
 2089                getGoogleJSStyleWithColumns(20));
 2097                getGoogleJSStyleWithColumns(20));
 2104                getGoogleJSStyleWithColumns(20));
 2114       getGoogleJSStyleWithColumns(20));
 2136                    getGoogleJSStyleWithColumns(20)));
 2148       "var x = \"foo'\";", getGoogleJSStyleWithColumns(15));
 2153                getGoogleJSStyleWithColumns(15));
 2176                getGoogleJSStyleWithColumns(15));
 2212       getGoogleJSStyleWithColumns(20));
 2220       getGoogleJSStyleWithColumns(20));
 2236                getGoogleJSStyleWithColumns(25));
 2237   verifyFormat("// taze: x from 'location'", getGoogleJSStyleWithColumns(10));
 2238   verifyFormat("/// <reference path=\"some/location\" />", getGoogleJSStyleWithColumns(10));
 2247   FormatStyle FourSpaces = getGoogleJSStyleWithColumns(15);