Index: docs/ClangFormatStyleOptions.rst =================================================================== --- docs/ClangFormatStyleOptions.rst +++ docs/ClangFormatStyleOptions.rst @@ -1279,6 +1279,10 @@ **IncludeCategories** (``std::vector``) Regular expressions denoting the different ``#include`` categories used for ordering ``#includes``. + + `POSIX extended + `_ + regular expressions are supported. These regular expressions are matched against the filename of an include (including the <> or "") in order. The value belonging to the first @@ -1302,6 +1306,8 @@ Priority: 2 - Regex: '^(<|"(gtest|gmock|isl|json)/)' Priority: 3 + - Regex: '<[[:alnum:].]+>' + Priority: 4 - Regex: '.*' Priority: 1