summaryrefslogtreecommitdiffstats
path: root/.clang-format
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to reuse version 6Lucie Gérard2025-10-201-0/+2
| | | | | | | Task-number: QTBUG-140916 Pick-to: 6.8 6.10 Change-Id: I3b356c53fa485c1b253841bfad3d8e0568c18679 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Correct license for build system filesLucie Gérard2024-04-091-1/+1
| | | | | | | | | | | | According to QUIP-18 [1], all build system files should be BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I2f13ceaa8eb68b7745cffc66651f892c1fbeeff2 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Fix clang formatMichal Klocek2024-02-161-2/+2
| | | | | | | | | Clang format stopped working and throws error for duplicated mapping key. Pick-to: 6.7 Change-Id: I8b382322d12decb8a956baba6f6b8ad9012a6bab Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Use SPDX license identifiersLucie Gérard2022-07-081-3/+1
| | | | | | | | | | | Ammend 9b9d789fcb8f63a8998f1eefe44f2a1c8156c362 : some files were still missing SPDX headers Pick-to: 6.4 Task-number: QTBUG-67283 Task-number: QTBUG-104589 Change-Id: Ia4d2aae636bbdb1a99c422e3b8d3f097c3af34d6 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Update .clang-format and fix messed up stylePeter Varga2022-06-221-4/+12
| | | | | | | | | | | | | | | | - Make sure clang-format doesn't reformat SPDX-License-Identifier (see https://code.qt.io/cgit/qt/qt5.git/commit/?id=6a4dab1134b10b432f69819018fef2044520e0ca ) - Fix C++ version to C++17 (see https://code.qt.io/cgit/qt/qt5.git/commit/?id=fe9efd359498dc342257908f6c9c2183e95fc05d ) - Update _clang_format to avoid adding a space in list-initialization (see https://code.qt.io/cgit/qt/qt5.git/commit/?id=fc7251edfaf782f184030a5787fe3a88feef6083 ) - Disable indentation for preprocessing directives. - Fix indentation of UIDelegatasManager macros and prevent formatting them. Pick-to: 6.4 Change-Id: Ieb59c993ee715430ebc2830828e488b9f62ec727 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Copy _clang-format from qt5.gitJüri Valdmann2020-04-291-0/+105
Add some QtWebEngine specific changes at the bottom. Change-Id: I5bbcbff2cec43f6bb5878a22d79f96bc0c301d7f Reviewed-by: Michal Klocek <michal.klocek@qt.io>