Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mention that the diff from clang-format and -tidy can be applied (#2526) | Alon Zakai | 2019-12-13 | 1 | -1/+1 |
| | |||||
* | Improve error detection in clang-tidy/clang-format scripts (#2156) | Sam Clegg | 2019-06-06 | 1 | -2/+19 |
| | | | | | | - Error out of shell script if any command fails. - Don't try to run on travis builds that are not PRs (i.e. don't have any upstream). - Prefer origin/master over just master (some folks don't use master locally). - Don't hide stderr by piping it to dev/null. | ||||
* | Add clang-format-diff hook (#2057) | Heejin Ahn | 2019-04-26 | 1 | -0/+11 |
This adds a commit hook to Travis CI that errors out if incoming PRs' diffs are not clang-formatted. Turns out clang-format is also capable of formatting JavaScript, but we haven't agreed on a style for JS yet, this PR disables JavaScript formatting for now. This also adds clang-format exempt header/footer to a generated source file. |