Browse Source

clang-format: suppress include main regex

Michele Caini 2 years ago
parent
commit
e0e3786089
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .clang-format

+ 1 - 0
.clang-format

@@ -23,6 +23,7 @@ IncludeCategories:
     Priority: 4
     Priority: 4
   - Regex: '.*'
   - Regex: '.*'
     Priority: 5
     Priority: 5
+IncludeIsMainRegex: "^$"
 IndentPPDirectives: AfterHash
 IndentPPDirectives: AfterHash
 IndentWidth: 4
 IndentWidth: 4
 KeepEmptyLinesAtTheStartOfBlocks: false
 KeepEmptyLinesAtTheStartOfBlocks: false