Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-18 | .clang-format: try harder to avoid return type on its own line | Alexey Rusakov | |
In reality it's often not just the return type but the return type and the preceding attribute, in particular [[deprecated("...")]] - and unfortunately this attribute (and any other, actually) cannot be given its own line using ClangFormat. So at least try to glue those two to the function name as much as possible... | |||
2022-01-05 | .clang-format: slightly tweak penalties | Alexey Rusakov | |
With the previous settings clang-format seemed too lenient to characters beyond position 80. [skip ci] | |||
2021-07-30 | .clang-format: add DEFINE_EVENT_TYPEID to StatementMacros | Alexey Rusakov | |
2021-07-28 | .clang-format: revert BraceWrapping.AfterControlStatement | Alexey Rusakov | |
It triggers a bug in libformat that prevents AllowShortFunctionsOnASingleLine to do its job: https://bugs.llvm.org/show_bug.cgi?id=47936 | |||
2021-06-23 | Require ClangFormat 10 or newer, if used | Alexey Rusakov | |
2021-01-16 | Updated copyright statements upon Git audit | Kitsune Ral | |
After going through all the files and the history of commits on them it was clear that some copyright statements are obsolete (the code has been overwritten since) and some are missing. This commit tries best to remedy that, along with adding SPDX tags where they were still not used. Also, a minimal SPDX convention is documented for further contributions. Closes #426. | |||
2021-01-01 | .clang-format: more old ClangFormat compat | Kitsune Ral | |
2021-01-01 | .clang-format: ensure older ClangFormat compatibility | Kitsune Ral | |
IndentGotoLabels is a ClangFormat 10 thing | |||
2020-11-11 | .clang-format: update for ClangFormat 10+ | Kitsune Ral | |
Also: add space before colon in range-based for from now on. [skip ci] | |||
2020-11-06 | .clang-format: add SpaceInEmptyBlock: false (clang 10) | Kitsune Ral | |
2020-04-17 | .clang-format: no empty lines at the start of blocks | Kitsune Ral | |
2019-09-29 | .clang-format: don't add a whitespace before a colon in range-for | Kitsune Ral | |
2019-08-18 | .clang-format: minor tweaks in penalties | Kitsune Ral | |
2019-08-02 | .clang-format: Alter brace wrapping to (mostly) match WebKit style | Kitsune Ral | |
2019-08-02 | .clang-format: Enable ConstructorInitializerAllOnOneLineOrOnePerLine | Kitsune Ral | |
2019-08-02 | .clang-format: Bring back AlwaysBreakTemplateDeclarations | Kitsune Ral | |
It was accidentally left commented out in trying to support clang-format 5. Now that we're embracing clang-format 6+ only, it really should be on. | |||
2019-07-10 | CMakeLists.txt: fix things around clang-format, inherit CLANG_FORMAT_ARGS | Kitsune Ral | |
2019-06-23 | .clang-format: Skip on CommentPragmas | Kitsune Ral | |
We do want doc-comments to be formatted as well. | |||
2019-06-22 | .clang-format: fine-tune penalties | Kitsune Ral | |
2019-05-19 | Update .clang-format as per the field experience | Kitsune Ral | |
2019-03-02 | fixup! fixup! chore: add .clang-format | Marc Deop | |
2019-03-01 | fixup! chore: add .clang-format | Marc Deop | |
2019-03-01 | chore: add .clang-format | Marc Deop | |