diff options
author | Marco Bubke <marco.bubke@qt.io> | 2024-02-20 13:24:46 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2024-02-20 17:02:55 +0000 |
commit | d68ad36ce1a360bf810b01ec27eaf9b474e18a26 (patch) | |
tree | 40264255f70609611ff78df948cb2eadc595fbbe | |
parent | 483c7afefd954d6e268703fef5d31e774921c203 (diff) |
QmlDesigner: Fix clang format file
The regular expression was case insensitive.
Change-Id: Ic44ac8b65428574fb7d0cb8327b8b536b74720d8
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r-- | src/plugins/qmldesigner/.clang-format | 5 | ||||
-rw-r--r-- | tests/unit/.clang-format | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/qmldesigner/.clang-format b/src/plugins/qmldesigner/.clang-format index 9986740c63e..d3695ac2982 100644 --- a/src/plugins/qmldesigner/.clang-format +++ b/src/plugins/qmldesigner/.clang-format @@ -17,8 +17,9 @@ BreakConstructorInitializers: BeforeComma BreakInheritanceList: AfterComma ColumnLimit: 100 IncludeCategories: - - Regex: '^<Q.*' - Priority: 200 + - Regex: 'Q.*' + Priority: 8 + CaseSensitive: true IndentPPDirectives: AfterHash IndentWidth: 4 KeepEmptyLinesAtTheStartOfBlocks: false diff --git a/tests/unit/.clang-format b/tests/unit/.clang-format index 9986740c63e..d3695ac2982 100644 --- a/tests/unit/.clang-format +++ b/tests/unit/.clang-format @@ -17,8 +17,9 @@ BreakConstructorInitializers: BeforeComma BreakInheritanceList: AfterComma ColumnLimit: 100 IncludeCategories: - - Regex: '^<Q.*' - Priority: 200 + - Regex: 'Q.*' + Priority: 8 + CaseSensitive: true IndentPPDirectives: AfterHash IndentWidth: 4 KeepEmptyLinesAtTheStartOfBlocks: false |