clang-format this function.

No functionality change, it will just make the next patch easier to read.