commit | 65bcdabba34fddc303ab97f60dfea6079989306a | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Wed Dec 05 22:19:06 2012 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Wed Dec 05 22:19:06 2012 +0000 |
tree | 173c25e2dd1bbfb190a253f8d25409190d546f7a | |
parent | ca952281611205fbc36d0516a595f9751e071d36 [diff] [blame] |
In DeclPrint add printing of 'explicit' constructors. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169435 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/unittests/AST/DeclPrinterTest.cpp b/unittests/AST/DeclPrinterTest.cpp index aeb49b0..2cb3a3f 100644 --- a/unittests/AST/DeclPrinterTest.cpp +++ b/unittests/AST/DeclPrinterTest.cpp
@@ -457,8 +457,7 @@ " 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) {