+IncludeBlocks: Regroup
+IncludeCategories:
+ # Babeltrace 2 public headers
+ - Regex: '^<babeltrace2/.+>$'
+ Priority: 3
+ # System C headers
+ - Regex: '^<.+\.h>$'
+ Priority: 2
+ # System C++ headers
+ - Regex: '^<.+>$'
+ Priority: 1
+ # Logging headers
+ - Regex: '^"(logging\.hpp|logging/comp-logging\.h|logging/log\.h)"$'
+ Priority: 4
+ # Common headers
+ - Regex: '^"(argpar|autodisc|common|compat|cpp-common|ctfser|fd-cache|param-parse|py-common|logging|string-format)/.+"$'
+ Priority: 5
+ # Plugins common headers
+ - Regex: '^"plugins/common/.+"$'
+ Priority: 6
+ # tap header file
+ - Regex: '^"(tap/)?tap\.h"$'
+ Priority: 8
+ # The rest (local headers)
+ - Regex: '.+'
+ Priority: 7
+IncludeIsMainRegex: "please_dont_do_that"