[cfe-commits] r169412 - in /cfe/trunk: lib/AST/DeclPrinter.cpp test/Index/comment-to-html-xml-conversion.cpp unittests/AST/DeclPrinterTest.cpp
Dmitri Gribenko
gribozavr at gmail.com
Wed Dec 5 12:06:59 PST 2012
Hi Fariborz,
On Wed, Dec 5, 2012 at 9:54 PM, Fariborz Jahanian <fjahanian at apple.com> wrote:
> @@ -482,8 +477,8 @@
> " A() = default;"
> "};",
> constructorDecl(ofClass(hasName("A"))).bind("id"),
> - ""));
> - // WRONG; Should be: "A() = default;"
> + "A() noexcept"));
> + // WRONG; Should be: "A() = delete;"
> }
The comment was correct here (=default).
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