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

References

tools/clang/unittests/Format/FormatTest.cpp
   65     return getStyleWithColumns(getGoogleStyle(), ColumnLimit);
   94     verifyFormat(Code, getGoogleStyle());
  206                    getGoogleStyle()));
  215                    getGoogleStyle()));
  224                    getGoogleStyle()));
  233                    getGoogleStyle()));
  242                    getGoogleStyle()));
  251                    getGoogleStyle()));
  255   verifyFormat("extern \"C\" int f() { return 42; }", getGoogleStyle());
  265                    getGoogleStyle()));
  299                    getGoogleStyle()));
 1684                    getGoogleStyle()));
 2983                    getGoogleStyle()));
 3823   FormatStyle Style = getGoogleStyle();
 3847                    getGoogleStyle()));
 3856                    getGoogleStyle()));
 4855       getGoogleStyle());
 4861       getGoogleStyle());
 4868       getGoogleStyle());
 4884       getGoogleStyle());
 4983   FormatStyle Style = getGoogleStyle();
 5186   FormatStyle NoBinPacking = getGoogleStyle();
 5218   FormatStyle NoBinPacking = getGoogleStyle();
 5928   FormatStyle Style = getGoogleStyle();
 6799   EXPECT_EQ("A<A<A<A>>> a;", format("A<A<A<A> >> a;", getGoogleStyle()));
 6800   EXPECT_EQ("A<A<A<A>>> a;", format("A<A<A<A>> > a;", getGoogleStyle()));
 6801   EXPECT_EQ("A<::A<int>> a;", format("A< ::A<int>> a;", getGoogleStyle()));
 6802   EXPECT_EQ("A<::A<int>> a;", format("A<::A<int> > a;", getGoogleStyle()));
 6804             format("auto x=[]{A<A<A<A> >> a;};", getGoogleStyle()));
 6910   verifyFormat("n * alignof char16;", getGoogleStyle());
 6912   verifyFormat("alignof(char);", getGoogleStyle());
 7004                getGoogleStyle());
 7454                    getGoogleStyle()));
 7461                    getGoogleStyle()));
 7468                    getGoogleStyle()));
 7477                    getGoogleStyle()));
 7546   verifyFormat("int a = [(type*)[((type*)val) arg] arg];", getGoogleStyle());
 7574   verifyFormat("int a = alignof(int) * b;", getGoogleStyle());
 7584   verifyFormat("int a = alignof(int *) + b;", getGoogleStyle());
 7723                getGoogleStyle());
 8491                getGoogleStyle());
 8993   FormatStyle AllowsMergedIf = getGoogleStyle();
 9299                    getGoogleStyle()));
 9305                    getGoogleStyle()));
 9316                    getGoogleStyle()));
 9528             format("f(g(R\"x(raw literal)x\",   a), b);", getGoogleStyle()));
12309   Styles[0] = getGoogleStyle();
12348   Styles[0] = getGoogleStyle();
13611   auto Style = getGoogleStyle();
13970                    getGoogleStyle()));
14273   ASSERT_EQ(*Style1, getGoogleStyle());
14321   ASSERT_EQ(*Style3, getGoogleStyle());
14423                    getGoogleStyle()));
14440   EXPECT_EQ("<!-- ;> -->", format("<!-- ;> -->", getGoogleStyle()));
14441   EXPECT_EQ(" <!-- >; -->", format(" <!-- >; -->", getGoogleStyle()));
14475   verifyFormat("auto [a1, b]{A * i};", getGoogleStyle());
14478   verifyFormat("auto const [a1, b]{A * i};", getGoogleStyle());
14481   verifyFormat("auto const& [a1, b]{A * i};", getGoogleStyle());
14484   verifyFormat("auto const&& [a1, b]{A * i};", getGoogleStyle());