Skip to content
Snippets Groups Projects
Commit 4b6042e1 authored by Felix Weiglhofer's avatar Felix Weiglhofer Committed by Florian Uhlig
Browse files

clang-format: Fix header ordering.

Fix a bug in clang-format that causes STL headers that start with a 't'
being grouped with Root headers. (Affects for example <type_traits>.)
This is caused by regex matching in clang-format being case insensitve by default. The option
for case sensitive matching is only introduced with clang-format 12. So
as a workaround for clang-format 11 also match a '.h'-suffix for the
filenames in these categories. This ensures seperation between Root headers
and STL headers.
parent b5336926
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment