Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clang-format: Explicitly require version 3.8 of the tool | Brad King | 2018-05-18 | 1 | -1/+1 |
| | | | | | | | | | Versions of clang-format newer than 3.8 produce different output. Our source code guide says that version 3.8 exactly must be used. Update the comment in our `.clang-format` config file accordingly. Add a check to our formatting script to verify the version. Also update its tool search to look for the explicitly-named 3.8 variant first. | ||||
* | clang-format: format all code as Cpp11 | Daniel Pfeifer | 2017-08-30 | 1 | -1/+0 |
| | |||||
* | Configure clang-format for CMake source tree | Brad King | 2016-05-16 | 1 | -0/+9 |
After discussion among developers we settled on the Mozilla style with a few tweaks: * Do not align operator arguments. * Do not always break after a function return type. * Limit to 79 columns instead of 80 to fit edge cases better in 80-column terminals as CMake has always done. * Format for C++98 instead of C++11 because CMake is written in the former language. Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de> |