[cfe-commits] r81123 - in /cfe/trunk: lib/AST/ExprCXX.cpp lib/Sema/SemaDeclCXX.cpp test/SemaTemplate/default-expr-arguments.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Sun Sep 6 10:35:47 PDT 2009
Anders Carlsson wrote:
> Author: andersca
> Date: Sun Sep 6 11:54:02 2009
> New Revision: 81123
>
> URL: http://llvm.org/viewvc/llvm-project?rev=81123&view=rev
> Log:
> Reapply 81096, now with a fix. Spot the bug:
>
> for (unsigned i = numargs; i < NumArgs; ++i)
> Args[0] = 0;
>
Aside from the actual bug, wouldn't it also be a good idea to rename one
of the two numargs variables?
Sebastian
More information about the cfe-commits
mailing list