D | FormatTestCSharp.cpp | 22 unsigned Length, const FormatStyle &Style) { in format() argument 26 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format() 35 const FormatStyle &Style = getMicrosoftStyle(FormatStyle::LK_CSharp)) { in format() argument 36 return format(Code, 0, Code.size(), Style); in format() 40 FormatStyle Style = getMicrosoftStyle(FormatStyle::LK_CSharp); in getStyleWithColumns() local 41 Style.ColumnLimit = ColumnLimit; in getStyleWithColumns() 42 return Style; in getStyleWithColumns() 47 const FormatStyle &Style = getMicrosoftStyle(FormatStyle::LK_CSharp)) { 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() [all …]
|