diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-07-23 03:22:10 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-07-23 03:22:10 +0000 |
commit | a593419593e4ee6b4961d836dfcb2b9b58870ab7 (patch) | |
tree | 26bdd7c55da80412a9c44a50adbd2f20c1c12177 /clang/unittests/AST/DeclPrinterTest.cpp | |
parent | a4bb292095482300a74170e4e297055549a38736 (diff) | |
download | bcm5719-llvm-a593419593e4ee6b4961d836dfcb2b9b58870ab7.tar.gz bcm5719-llvm-a593419593e4ee6b4961d836dfcb2b9b58870ab7.zip |
AST printer: fix double space before base class with no access specifier.
llvm-svn: 213719
Diffstat (limited to 'clang/unittests/AST/DeclPrinterTest.cpp')
-rw-r--r-- | clang/unittests/AST/DeclPrinterTest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/unittests/AST/DeclPrinterTest.cpp b/clang/unittests/AST/DeclPrinterTest.cpp index 9ba597994bc..9f179c4a3f2 100644 --- a/clang/unittests/AST/DeclPrinterTest.cpp +++ b/clang/unittests/AST/DeclPrinterTest.cpp @@ -268,8 +268,8 @@ TEST(DeclPrinter, TestCXXRecordDecl4) { "class Z { int a; };" "class A : Z { int b; };", "A", - "class A : Z {\n}")); - // Should be: with semicolon, with { ... }, without two spaces + "class A : Z {\n}")); + // Should be: with semicolon, with { ... } } TEST(DeclPrinter, TestCXXRecordDecl5) { @@ -277,8 +277,8 @@ TEST(DeclPrinter, TestCXXRecordDecl5) { "struct Z { int a; };" "struct A : Z { int b; };", "A", - "struct A : Z {\n}")); - // Should be: with semicolon, with { ... }, without two spaces + "struct A : Z {\n}")); + // Should be: with semicolon, with { ... } } TEST(DeclPrinter, TestCXXRecordDecl6) { @@ -313,8 +313,8 @@ TEST(DeclPrinter, TestCXXRecordDecl9) { "class Z { int a; };" "class A : virtual Z { int b; };", "A", - "class A : virtual Z {\n}")); - // Should be: with semicolon, with { ... }, without two spaces + "class A : virtual Z {\n}")); + // Should be: with semicolon, with { ... } } TEST(DeclPrinter, TestCXXRecordDecl10) { |