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

References

tools/clang/unittests/Format/FormatTest.cpp
12822   Style.Language = FormatStyle::LK_Cpp;
12828                                &Style),
12830   EXPECT_EQ(12u, Style.IndentWidth);
12832   EXPECT_EQ(FormatStyle::LK_Cpp, Style.Language);
12834   Style.Language = FormatStyle::LK_JavaScript;
12841                                &Style),
12843   EXPECT_EQ(23u, Style.IndentWidth);
12845   EXPECT_EQ(FormatStyle::LK_JavaScript, Style.Language);
12860   Style.Language = FormatStyle::LK_Cpp;
12877   Style.ColumnLimit = 123;
12878   Style.IndentWidth = 234;
12879   Style.BreakBeforeBraces = FormatStyle::BS_Linux;
12880   Style.TabWidth = 345;
12893                                   &Style));
12894   EXPECT_EQ(123u, Style.ColumnLimit);
12895   EXPECT_EQ(456u, Style.IndentWidth);
12896   EXPECT_EQ(FormatStyle::BS_Stroustrup, Style.BreakBeforeBraces);
12897   EXPECT_EQ(789u, Style.TabWidth);
12905                                &Style),
12914                                &Style),
12917   EXPECT_EQ(FormatStyle::LK_Cpp, Style.Language);