Lines Matching refs:Style
22 unsigned Length, const FormatStyle &Style) { in format() argument
26 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format()
35 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_Java)) { in format() argument
36 return format(Code, 0, Code.size(), Style); in format()
40 FormatStyle Style = getGoogleStyle(FormatStyle::LK_Java); in getStyleWithColumns() local
41 Style.ColumnLimit = ColumnLimit; in getStyleWithColumns()
42 return Style; in getStyleWithColumns()
47 const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_Java)) { in verifyFormat() argument
48 EXPECT_EQ(Code.str(), format(Code, Style)) << "Expected code is not stable"; in verifyFormat()
49 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)); in verifyFormat()
62 FormatStyle Style = getStyleWithColumns(50); in TEST_F() local
65 Style); in TEST_F()
66 Style.BreakBeforeBinaryOperators = FormatStyle::BOS_None; in TEST_F()
69 Style); in TEST_F()
258 FormatStyle Style = getStyleWithColumns(65); in TEST_F() local
259 Style.Cpp11BracedListStyle = false; in TEST_F()
263 Style); in TEST_F()
437 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Java); in TEST_F() local
438 Style.BreakBeforeBraces = FormatStyle::BS_Custom; in TEST_F()
440 Style.BraceWrapping.AfterControlStatement = FormatStyle::BWACS_Always; in TEST_F()
441 Style.BraceWrapping.AfterFunction = false; in TEST_F()
446 Style); in TEST_F()
448 Style.BraceWrapping.AfterControlStatement = FormatStyle::BWACS_Never; in TEST_F()
449 Style.BraceWrapping.AfterFunction = true; in TEST_F()
453 Style); in TEST_F()
608 FormatStyle Style = getLLVMStyle(FormatStyle::LK_Java); in TEST_F() local
609 Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; in TEST_F()
615 Style); in TEST_F()