r202181 - Pretty Printer: Print constexpr and ref qualifiers. Don't print return types on destructors.
Dmitri Gribenko
gribozavr at gmail.com
Wed Feb 26 01:17:01 PST 2014
On Tue, Feb 25, 2014 at 6:49 PM, Benjamin Kramer
<benny.kra at googlemail.com> wrote:
> TEST(DeclPrinter, TestCXXConstructorDecl8) {
> @@ -519,8 +518,7 @@ TEST(DeclPrinter, TestCXXConstructorDecl
> " A(T&&... ts) : T(ts)... {}"
> "};",
> constructorDecl(ofClass(hasName("A"))).bind("id"),
> - "A<T...>(T &&ts...) : T(ts)"));
> - // WRONG; Should be: "A(T&&... ts) : T(ts)..."
> + "A<T...>(T &&ts...) : T(ts)..."));
> }
Note that the (T &&ts...) part does not look correct, "..." is still
in the wrong place. If you agree, please put back "WRONG".
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the cfe-commits
mailing list