Lines Matching defs:Style

28   FormatStyle Style = getDefaultStyle();
29 Style.AlignConsecutiveAssignments.Enabled = true;
33 Style);
37 Style);
42 Style);
45 Style);
48 Style);
51 Style);
54 Style);
57 Style);
58 Style.AlignConsecutiveAssignments.AlignCompound = true;
61 Style);
64 Style);
67 Style);
70 Style);
73 Style);
76 Style);
185 auto Style = getDefaultStyle();
186 Style.ColumnLimit = 17;
197 Style);
257 auto Style = getDefaultStyle();
258 Style.IndentCaseLabels = false;
263 Style);
269 Style);
270 Style.IndentCaseLabels = true;
275 Style);
281 Style);
283 Style = getDefaultStyle();
284 Style.BitFieldColonSpacing = FormatStyle::BFCS_None;
287 Style);
290 Style);
291 Style.BitFieldColonSpacing = FormatStyle::BFCS_Both;
294 Style);
297 Style);
298 Style = getDefaultStyle();
299 Style.SpacesInContainerLiterals = true;
302 Style);
303 verifyFormat("x = '{x : x, default : 9};", Style);
306 Style);
307 Style.SpacesInContainerLiterals = false;
310 Style);
311 verifyFormat("x = '{x: x, default: 9};", Style);
314 Style);
361 Style = getDefaultStyle();
362 Style.ContinuationIndentWidth = 1;
368 Style);
375 Style);
605 auto Style = getDefaultStyle();
606 Style.ColumnLimit = 40;
610 Style);
615 Style);
619 Style);
624 Style);
895 auto Style = getDefaultStyle();
900 Style);
901 verifyFormat("assert (x);", Style);
902 verifyFormat("assert #0 (x);", Style);
907 Style);
908 Style.SpacesInParens = FormatStyle::SIPO_Custom;
909 Style.SpacesInParensOptions.InConditionalStatements = true;
914 Style);
915 verifyFormat("assert ( x );", Style);
916 verifyFormat("assert #0 ( x );", Style);
921 Style);
981 auto Style = getDefaultStyle();
982 Style.VerilogBreakBetweenInstancePorts = false;
983 verifyFormat("ffnand ff1;", Style);
985 Style);
986 verifyFormat("ffnand ff1(out1, in1, in2);", Style);
989 Style);
993 Style);
1005 auto Style = getDefaultStyle();
1006 Style.SpacesInParens = FormatStyle::SIPO_Custom;
1007 Style.SpacesInParensOptions.InConditionalStatements = true;
1010 Style);
1013 Style);
1090 auto Style = getDefaultStyle();
1091 Style.ColumnLimit = 20;
1097 "`define X if(x)x=x;", Style);
1101 "`define X(x) if(x)x=x;", Style);
1105 "`define X x=x;x=x;", Style);
1113 Style);
1120 Style);
1124 "`define LIST `x=`x;`x=`x;", Style);
1161 Style);
1171 Style);
1178 Style);
1193 Style);
1287 auto Style = getStyleWithColumns(getDefaultStyle(), 24);
1288 Style.Cpp11BracedListStyle = false;
1291 R"(x("xxxxxxxxxxxxxxxx xxxx");)", Style);
1344 auto Style = getDefaultStyle();
1345 Style.SpacesInContainerLiterals = true;
1346 verifyFormat("c = '{a : 0, b : 0.0};", Style);
1347 verifyFormat("c = '{a : 0, b : 0.0, default : 0};", Style);
1348 verifyFormat("c = ab'{a : 0, b : 0.0};", Style);
1349 verifyFormat("c = ab'{cd : cd'{1, 1.0}, ef : ef'{2, 2.0}};", Style);
1354 Style = getDefaultStyle();
1355 Style.ContinuationIndentWidth = 2;
1358 Style);