aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
AgeCommit message (Collapse)Author
2021-07-30.clang-format: add DEFINE_EVENT_TYPEID to StatementMacrosAlexey Rusakov
2021-07-28.clang-format: revert BraceWrapping.AfterControlStatementAlexey 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-23Require ClangFormat 10 or newer, if usedAlexey Rusakov
2021-01-16Updated copyright statements upon Git auditKitsune 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 compatKitsune Ral
2021-01-01.clang-format: ensure older ClangFormat compatibilityKitsune 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 blocksKitsune Ral
2019-09-29.clang-format: don't add a whitespace before a colon in range-forKitsune Ral
2019-08-18.clang-format: minor tweaks in penaltiesKitsune Ral
2019-08-02.clang-format: Alter brace wrapping to (mostly) match WebKit styleKitsune Ral
2019-08-02.clang-format: Enable ConstructorInitializerAllOnOneLineOrOnePerLineKitsune Ral
2019-08-02.clang-format: Bring back AlwaysBreakTemplateDeclarationsKitsune 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-10CMakeLists.txt: fix things around clang-format, inherit CLANG_FORMAT_ARGSKitsune Ral
2019-06-23.clang-format: Skip on CommentPragmasKitsune Ral
We do want doc-comments to be formatted as well.
2019-06-22.clang-format: fine-tune penaltiesKitsune Ral
2019-05-19Update .clang-format as per the field experienceKitsune Ral
2019-03-02fixup! fixup! chore: add .clang-formatMarc Deop
2019-03-01fixup! chore: add .clang-formatMarc Deop
2019-03-01chore: add .clang-formatMarc Deop