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

References

tools/clang/unittests/Format/FormatTest.cpp
12924   Style.Language = FormatStyle::LK_JavaScript;
12925   Style.BreakBeforeTernaryOperators = true;
12926   EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Style).value());
12927   EXPECT_FALSE(Style.BreakBeforeTernaryOperators);
12929   Style.BreakBeforeTernaryOperators = true;
12936                                   &Style)
12938   EXPECT_FALSE(Style.BreakBeforeTernaryOperators);
12939   EXPECT_EQ(76u, Style.IndentWidth);
12940   EXPECT_EQ(FormatStyle::LK_JavaScript, Style.Language);