Code review comment for ~dirk.zimoch/epics-base:CleanupWhitespace

Revision history for this message
Dirk Zimoch (dirk.zimoch) wrote :

What is your favorite coding style, mine looks like this:

int function(int a, int b)
{
    int i;

    for (i=a; i<b; i++)
    {
        if (i<10)
            doThis(i);
        else
        {
            switch (i)
            {
                case 42:
                    doSomethingSpecial();
                    break;
                default:
                {
                    doTheNormalThing(i, a, b);
                    break;
                }
            }
        }
    }
    return 0;
}

« Back to merge proposal