[cfe-commits] [PATCH] Bug 6484 - Improve diagnostics for dangling '}'

Dmitri Gribenko gribozavr at gmail.com
Mon Jan 16 05:22:35 PST 2012


On Mon, Jan 16, 2012 at 8:23 AM, Jason Switzer <jswitzer at gmail.com> wrote:
> Taking your advice, I made a new error (err_extraneous_closing_brace) in
> include/clang/Basic/DiagnosticParseKinds.td, switched the first case in
> lib/Parse/Parser.cpp to using the new error, and updated the test cases
> (again, all tests pass).

Looks good to me, but I'm not a committer.

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