diff options
author | Andrei Pavel <andrei@isc.org> | 2024-03-01 13:20:15 +0100 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2024-03-21 17:30:04 +0100 |
commit | cdb05c5435e6e8b4734e752dec658e55800f1d02 (patch) | |
tree | 75a13f7a4c63b58bf292b348bb13f1a1f975c571 /.clang-format | |
parent | [#3210] add ability to format changed files (diff) | |
download | kea-cdb05c5435e6e8b4734e752dec658e55800f1d02.tar.xz kea-cdb05c5435e6e8b4734e752dec658e55800f1d02.zip |
[#3210] properly match header names with regex
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format index 4752408333..164beac539 100644 --- a/.clang-format +++ b/.clang-format @@ -53,13 +53,13 @@ IncludeCategories: - Regex: '^<(asiodns|asiolink|cc|config|config_backend|cryptolink|database|dhcp|dhcpsrv|dhcp_ddns|dns|eval|exceptions|hooks|http|log|mysql|pgsql|process|stats|testutils|util|yang|admin|agent|d2|dhcp4|dhcp6|keactrl|lfc|netconf|perfdhcp|shell|limits)/' Priority: 1 # C++ standard library headers - - Regex: '^<[[:alnum:]]>$' + - Regex: '^<[_[:alnum:]]+>$' Priority: 2 # boost headers - Regex: '^<boost/' Priority: 3 # C headers - - Regex: '^<[[:alnum:]].h>$' + - Regex: '^<[/_[:alnum:]]+\.h>$' Priority: 4 # everything else - Regex: '.*' |