aboutsummaryrefslogtreecommitdiffstats
path: root/_clang-format
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.12' into 5.13Liang Qi2019-03-141-3/+5
|\ | | | | | | | | | | | | Conflicts: coin/provisioning/common/linux/emsdk.sh Change-Id: I9ba6a1c52b70b605f0f856b6ce6912fd499792a3
| * Update comment in clang-format filePaul Wicking2019-03-111-1/+2
| | | | | | | | | | | | Change-Id: I18f14a1956f508317f8a3995873a14bc1af29594 Reviewed-by: Andy Maloney <asmaloney@gmail.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
| * Update clang-format configPaul Wicking2019-03-081-2/+3
| | | | | | | | | | | | | | | | | | | | Set column width to 100 as described in the official Qt coding style (https://wiki.qt.io/Qt_Coding_Style). Also, break constructor initializers before the colon and after the commas. Change-Id: I6ac5a21ce831a35a0d74e699192ba981c8a8ba3c Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Fix handling of structs by clang formatJędrzej Nowacki2018-11-301-1/+1
|/ | | | | | | | | | | | | | | | | | | Our coding style expects classes to have opening braces on a new line. Structs and classes are the same. Before the patch: struct Foo { ... }; After the patch: struct Foo { ... }; Change-Id: Ifab8a402d03ef2fd75b939f39274887feedc7b1b Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* _clang-format: indent initializers with four spaces, not eightFrederik Gladhorn2018-08-301-2/+2
| | | | | | Change-Id: I9fc644554bd326a3a54163072b7b9e06253a5ff2 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Move _clang-format from qtrepotoolsFrederik Gladhorn2018-07-191-0/+80
Change-Id: I9ccacaf6ed09bbc0ee3f55bf6f97d96976341d14 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>