Lines Matching defs:Style

22                             const FormatStyle &Style) {
26 tooling::Replacements Replaces = reformat(Style, Code, Ranges);
34 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen);
35 Style.ColumnLimit = 60; // To make writing tests easier.
36 return format(Code, 0, Code.size(), Style);
48 static void verifyFormat(StringRef Code, const FormatStyle &Style) {
49 EXPECT_EQ(Code.str(), format(Code, 0, Code.size(), Style))
52 EXPECT_EQ(Code.str(), format(MessUp, 0, MessUp.size(), Style));
348 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen);
349 Style.ColumnLimit = 60;
351 ASSERT_EQ(Style.TableGenBreakInsideDAGArg, FormatStyle::DAS_DontBreak);
355 Style);
357 Style.TableGenBreakInsideDAGArg = FormatStyle::DAS_BreakElements;
363 Style);
369 Style);
371 Style.TableGenBreakingDAGArgOperators = {"ins"};
377 Style);
381 Style);
385 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen);
386 Style.ColumnLimit = 60;
391 Style);
393 Style.TableGenBreakInsideDAGArg = FormatStyle::DAS_BreakAll;
401 Style);
409 Style);
411 Style.TableGenBreakingDAGArgOperators = {"ins"};
419 Style);
423 Style);
427 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen);
428 Style.ColumnLimit = 60;
429 Style.TableGenBreakInsideDAGArg = FormatStyle::DAS_BreakAll;
430 Style.TableGenBreakingDAGArgOperators = {"ins", "outs"};
438 Style);
442 Style);
443 Style.AlignConsecutiveTableGenBreakingDAGArgColons.Enabled = true;
451 Style);
455 Style);
459 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen);
460 Style.ColumnLimit = 60;
464 Style);
465 Style.AlignConsecutiveTableGenCondOperatorColons.Enabled = true;
469 Style);
473 FormatStyle Style = getGoogleStyle(FormatStyle::LK_TableGen);
474 Style.ColumnLimit = 60;
478 Style);
479 Style.AlignConsecutiveTableGenDefinitionColons.Enabled = true;
483 Style);