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

References

tools/clang/unittests/Format/FormatTest.cpp
12346   Styles.resize(2);
12348   Styles[0] = getGoogleStyle();
12349   Styles[1] = getLLVMStyle();
12350   EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Styles[1]).value());
12351   EXPECT_ALL_STYLES_EQUAL(Styles);
12353   Styles.resize(5);
12354   Styles[0] = getGoogleStyle(FormatStyle::LK_JavaScript);
12355   Styles[1] = getLLVMStyle();
12356   Styles[1].Language = FormatStyle::LK_JavaScript;
12357   EXPECT_EQ(0, parseConfiguration("BasedOnStyle: Google", &Styles[1]).value());
12359   Styles[2] = getLLVMStyle();
12360   Styles[2].Language = FormatStyle::LK_JavaScript;
12363                                   &Styles[2])
12366   Styles[3] = getLLVMStyle();
12367   Styles[3].Language = FormatStyle::LK_JavaScript;
12370                                   &Styles[3])
12373   Styles[4] = getLLVMStyle();
12374   Styles[4].Language = FormatStyle::LK_JavaScript;
12381                                   &Styles[4])
12383   EXPECT_ALL_STYLES_EQUAL(Styles);