diff --git a/clang/unittests/AST/DeclPrinterTest.cpp b/clang/unittests/AST/DeclPrinterTest.cpp index 28750c41796d4..1a1b707c8dd37 100644 --- a/clang/unittests/AST/DeclPrinterTest.cpp +++ b/clang/unittests/AST/DeclPrinterTest.cpp @@ -1022,91 +1022,91 @@ TEST(DeclPrinter, TestFieldDecl2) { } TEST(DeclPrinter, TestClassTemplateDecl1) { - ASSERT_TRUE(PrintedDeclCXX98Matches( - "template" - "struct A { T a; };", - classTemplateDecl(hasName("A")).bind("id"), - "template struct A {}")); + ASSERT_TRUE( + PrintedDeclCXX98Matches("template" + "struct A { T a; };", + classTemplateDecl(hasName("A")).bind("id"), + "template struct A {}")); } TEST(DeclPrinter, TestClassTemplateDecl2) { - ASSERT_TRUE(PrintedDeclCXX98Matches( - "template" - "struct A { T a; };", - classTemplateDecl(hasName("A")).bind("id"), - "template struct A {}")); + ASSERT_TRUE( + PrintedDeclCXX98Matches("template" + "struct A { T a; };", + classTemplateDecl(hasName("A")).bind("id"), + "template struct A {}")); } TEST(DeclPrinter, TestClassTemplateDecl3) { - ASSERT_TRUE(PrintedDeclCXX98Matches( - "template" - "struct A { T a; };", - classTemplateDecl(hasName("A")).bind("id"), - "template struct A {}")); + ASSERT_TRUE( + PrintedDeclCXX98Matches("template" + "struct A { T a; };", + classTemplateDecl(hasName("A")).bind("id"), + "template struct A {}")); } TEST(DeclPrinter, TestClassTemplateDecl4) { - ASSERT_TRUE(PrintedDeclCXX98Matches( - "template" - "struct A { T a; U b; };", - classTemplateDecl(hasName("A")).bind("id"), - "template struct A {}")); + ASSERT_TRUE( + PrintedDeclCXX98Matches("template" + "struct A { T a; U b; };", + classTemplateDecl(hasName("A")).bind("id"), + "template struct A {}")); } TEST(DeclPrinter, TestClassTemplateDecl5) { - ASSERT_TRUE(PrintedDeclCXX98Matches( - "template" - "struct A { int a[N]; };", - classTemplateDecl(hasName("A")).bind("id"), - "template struct A {}")); + ASSERT_TRUE( + PrintedDeclCXX98Matches("template" + "struct A { int a[N]; };", + classTemplateDecl(hasName("A")).bind("id"), + "template struct A {}")); } TEST(DeclPrinter, TestClassTemplateDecl6) { - ASSERT_TRUE(PrintedDeclCXX98Matches( - "template" - "struct A { int a[N]; };", - classTemplateDecl(hasName("A")).bind("id"), - "template struct A {}")); + ASSERT_TRUE( + PrintedDeclCXX98Matches("template" + "struct A { int a[N]; };", + classTemplateDecl(hasName("A")).bind("id"), + "template struct A {}")); } TEST(DeclPrinter, TestClassTemplateDecl7) { - ASSERT_TRUE(PrintedDeclCXX98Matches( - "typedef int MyInt;" - "template" - "struct A { int a[N]; };", - classTemplateDecl(hasName("A")).bind("id"), - "template struct A {}")); + ASSERT_TRUE( + PrintedDeclCXX98Matches("typedef int MyInt;" + "template" + "struct A { int a[N]; };", + classTemplateDecl(hasName("A")).bind("id"), + "template struct A {}")); } TEST(DeclPrinter, TestClassTemplateDecl8) { ASSERT_TRUE(PrintedDeclCXX98Matches( - "template class T> struct A { };", - classTemplateDecl(hasName("A")).bind("id"), - "template