Indent switch blocks content

For readability, indent "case" in switch blocks.

Replace:

    switch (x) {
    case 1:
        // ...
    case 2:
        // ...
    case 3: { // a local scope block
        int i = 42;
        // ...
    }
    }

By:

    switch (x) {
        case 1:
            // ...
        case 2:
            // ...
        case 3: { // a local scope block
            int i = 42;
            // ...
        }
    }
This commit is contained in:
Romain Vimont 2018-02-01 11:34:49 +01:00
parent 628f88ab89
commit 60b2f2ca64
3 changed files with 95 additions and 95 deletions