diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2012-12-05 22:19:06 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-12-05 22:19:06 +0000 |
| commit | 69c403c5c9e4d18ba79a36f04e107a228f0d2de7 (patch) | |
| tree | 6f79a18122f02a73645d6d1a719f30a6e53edfaf /clang/unittests/AST | |
| parent | c524ec4411503494c5f684a6caaf8003aa48d142 (diff) | |
| download | bcm5719-llvm-69c403c5c9e4d18ba79a36f04e107a228f0d2de7.tar.gz bcm5719-llvm-69c403c5c9e4d18ba79a36f04e107a228f0d2de7.zip | |
In DeclPrint add printing of 'explicit'
constructors.
llvm-svn: 169435
Diffstat (limited to 'clang/unittests/AST')
| -rw-r--r-- | clang/unittests/AST/DeclPrinterTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/unittests/AST/DeclPrinterTest.cpp b/clang/unittests/AST/DeclPrinterTest.cpp index aeb49b01710..2cb3a3f748c 100644 --- a/clang/unittests/AST/DeclPrinterTest.cpp +++ b/clang/unittests/AST/DeclPrinterTest.cpp @@ -457,8 +457,7 @@ TEST(DeclPrinter, TestCXXConstructorDecl6) { " explicit A(int a);" "};", constructorDecl(ofClass(hasName("A"))).bind("id"), - "A(int a)")); - // WRONG; Should be: "explicit A(int a);" + "explicit A(int a)")); } TEST(DeclPrinter, TestCXXConstructorDecl7) { |

