From cdb05c5435e6e8b4734e752dec658e55800f1d02 Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Fri, 1 Mar 2024 14:20:15 +0200 Subject: [#3210] properly match header names with regex --- .clang-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.clang-format') 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: '^$' + - Regex: '^<[/_[:alnum:]]+\.h>$' Priority: 4 # everything else - Regex: '.*' -- cgit v1.2.3