On Aug 26, 2010, at 11:35 AM, Chris Fleizach wrote:

>     for (...; ...; ...) { }

This seems OK.

>     for (...; ...; ...) 
>     { }

The above is definitely not allowed, because braces go on the line with the 
"for".

The other possibilities are:

C)
    for (...)
        ;

D)
    for (...) {
    }

E)
    for (...) {
        // intentionally-empty loop body.
    }

I would probably use (C) in code I was writing. This doesn’t come up much.

    -- Darin

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to