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

References

tools/clang/unittests/Format/FormatTest.cpp
10644   InheritanceStyle.SpaceBeforeInheritanceColon = false;
10645   verifyFormat("class Foo: public Bar {};", InheritanceStyle);
10646   verifyFormat("Foo::Foo() : foo(1) {}", InheritanceStyle);
10647   verifyFormat("for (auto a : b) {\n}", InheritanceStyle);
10648   verifyFormat("int x = a ? b : c;", InheritanceStyle);
10653                InheritanceStyle);
10658                InheritanceStyle);
10659   InheritanceStyle.BreakInheritanceList = FormatStyle::BILS_AfterColon;
10664                InheritanceStyle);
10665   InheritanceStyle.BreakInheritanceList = FormatStyle::BILS_BeforeComma;
10670                InheritanceStyle);
10671   InheritanceStyle.BreakInheritanceList = FormatStyle::BILS_BeforeColon;
10676                InheritanceStyle);
10677   InheritanceStyle.ConstructorInitializerIndentWidth = 0;
10681                InheritanceStyle);