We are following MongoDB Coding Styles for brackets:
http://www.mongodb.org/about/contributors/kernel-code-style/#brackets

Right:

```cpp
if (0) {
}
else if (0) {
}
else {
}

do {
} while (0);
```

Wrong:

```cpp
if (0) 
{
}
else if (0) 
{
}
else 
{
}

do 
{
} while (0);
```