Clang Format
1fba5cb580
reformat main common directory
...
Disable some reformat around emitter registers declaration and a massive cases.
2016-11-12 16:52:49 +01:00
Gregory Hainaut
4d52c55784
QA: add a git hook script to validate the format & check spu2x format
...
Note: pre-commit hook is for linux, need to be manually installed in .git/hooks/
A windows solution is welcome
2016-10-10 20:43:30 +02:00
Jonathan Li
49cd751acf
format-check: enable checking cdvdGigaherz
2016-09-19 19:53:06 +01:00
Gregory Hainaut
ac14db7b19
linux: use clang-format-3.8
...
Default is potentially an old version
2016-09-08 21:54:50 +02:00
Gregory Hainaut
36d2f96519
format checker: enable it for lilypad/onepad/cdvdiso
2016-09-08 21:54:50 +02:00
Gregory Hainaut
7b222768d4
build: check syntax of null plugins
...
Temporary hack to compute the number of commit in the branch
[skip appveyor]
2016-08-27 13:35:36 +02:00
Gregory Hainaut
18941f1b80
clang-format: tune format after discussion
...
Use custom brace setup. So union/struct/class all behave the same.
Fix typo on 3rdparty
2016-08-24 22:55:37 +02:00
Gregory Hainaut
de32691b4e
clang format: don't allow statement on single lines + disable resource.h too (generated file)
...
Following discussion in #1530
2016-08-22 18:21:17 +02:00
Gregory Hainaut
61eddca39d
clang format: preliminary support
...
Add a .clang-format example file. Might need minor tuning. If people doesn't like the syntax
Add a basic script to validate current change is compliant with clang-format
* on master it will test last 20 commits
* on branch it will test all commits of the branch
Idea is to plug it into travis (might require clang 3.8). Everything is blacklisted. Use "ALL" parameters
to test all standard directories.
2016-08-12 20:28:00 +02:00